4

I know that the you have read permission to files in the /var/mobile/Library/Preferences directory, however you don't have read permission to some other directories located in /var/mobile/Library/.

Where can I find a list of the allowed paths to read and write from inside an app running as mobile user?

I don't care if it is allowed to access the directory, so it can be submitted to the app store, as it is for a jailbreak tweak I am making.

4

1 回答 1

4

复制自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-05-11T22:29:10.537 回答