【问题标题】:Which directories does iOS apps have permission to write and read from?iOS 应用程序对哪些目录有读写权限?
【发布时间】:2012-05-20 11:07:49
【问题描述】:

我知道您对/var/mobile/Library/Preferences 目录中的文件具有读取权限,但是您对位于/var/mobile/Library/ 中的某些其他目录没有读取权限。

我在哪里可以找到允许从以移动用户身份运行的应用程序内部读取和写入的路径列表?

我不在乎它是否被允许访问该目录,所以它可以提交到应用商店,因为它是我正在做的越狱调整。

【问题讨论】:

    标签: ios permissions jailbreak


    【解决方案1】:

    复制自http://iphonedevwiki.net/index.php/Seatbelt“围绕沙盒工作”部分:

    Anything in the container itself (of course).
    ~/* except the Media and Library subfolders, which only the following directories are readable:
    ~/Media/DCIM/*
    ~/Media/Photos/*
    ~/Library/AddressBook/*
    ~/Library/Keyboard/*
    ~/Library/Preferences/*
    

    其中~ 指的是/var/mobile

    【讨论】:

      猜你喜欢
      • 2012-12-20
      • 2011-01-17
      • 2013-05-23
      • 1970-01-01
      • 1970-01-01
      • 2015-05-26
      • 2011-03-28
      • 1970-01-01
      • 2011-02-06
      相关资源
      最近更新 更多