Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a jailbroken iPhone 4s with iOS 5.1.1. One of the things that always bothers me is that apps can't share files with each other. So I thought I can circumvent that behavior by creating a symlink to a folder in /var/mobile/.

For my first try I used the Dolphin Browser from the AppStore (since you can download nearly everything with it). I renamed the original Documents folder in the apps folder and created a symbolic link to /var/mobile/SharedDocs. Apparently that doesn't work. Trying to download something simply fails in Dolphin.

Long story short: Did anyone else try something similar with success? Any other ideas I can try? Do I need to program some kind of mobilesubstrate extention?

This is my first post here and I'm sorry if I did something wrong ;)

Greetings JunkiXL

P.S. Actually I didn't replace the Documents folder but the Downloads folder. Here are the full pathes to the directories: - Original Download Folder: /var/mobile/Applications/734.../Documents/Downloads -> renamed that folder for backup purpose. - created a link with "ln -s /var/mobile/SharedDocs Downloads" in /var/mobile/Applications/734.../Documents

share|improve this question

migrated from stackoverflow.com Sep 26 '12 at 11:10

This question came from our site for professional and enthusiast programmers.

    
Which folder did you rename (can you provide the full path)? Is it the Dolphin Browser's Documents folder? Please show the link (which is the target of the link). –  Nate Sep 25 '12 at 9:51
    
@ThiefMaster, I don't think this question should have been migrated to wherever the hell this is. The line "Do I need to program some kind of mobilesubstrate extention?" should have identified that it was a programming question. –  Nate Sep 27 '12 at 8:39

1 Answer 1

You can't access other folders beyond the sandbox from App Store applications.

There is a library in Cydia called Unbox that allows you to access the filesystem from a sandboxed application but you will need to create your own app to achieve this as it is NOT A TWEAK.

For Information, Sandboxing is Apple's security feature preventing App Store applications from accessing the whole filesystem and also limiting what API's can be used. Some private API's can, others will simply crash if run in the Sandbox.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.