Quantcast
Channel: 睿论坛 - 最新话题
Viewing all articles
Browse latest Browse all 5732

我的APP已经获取到了root权限了,但是操作其他普通沙箱中的APP DATA文件中的沙盒文件还是不行???

$
0
0

@guozeming wrote:

My app have got root right !but I can not read or delete files from the normal app's sandbox path。
such as:

NSString *toRemovePath = [NSString stringWithFormat:@"/var/mobile/Containers/Data/Application/0104B320-2DF0-4820-A554-2BA61553A6CC/Library/Caches/demo.txt"]; //(PS:this path i checked~!it's right!)

BOOL flag = [fileManager removeItemAtPath:toRemovePath error:nil];
NSLog(@"is removed:%d",flag);

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5732

Trending Articles