4 ms·
In this app, it appears we are operationally limited to /private/var/mobile/Containers/Data/Application/49F47295-F9D8-4FD7-8F34-redactedxxxx/ The default fold
by stblack 6y ago
In this app, it appears we are operationally limited to
/private/var/mobile/Containers/Data/Application/49F47295-F9D8-4FD7-8F34-redactedxxxx/
The default folder is /private/var/mobile/Containers/Data/Application/49F47295-F9D8-4FD7-8F34-redactedxxxx/Documents
I am able to cd / and can see the following folders
/Applications
/bin
/cores
/dev
/Developer
/etc
/Library
/private
/sbin
/System
/tmp
/usr
/var
... but can't cd into any of them. "permission denied".
None of this is a surprise, of course.
- stblack 6y agoOdd there is no `which` command; this limits discovery. `python --version` returns 3.7.1. `curl --version` returns 7.54.0.
- jagged-chisel 6y agohelp -l
- pjot 6y agoFrom the README: https://github.com/holzschu/ios_system/blob/master/README.md https://github.com/holzschu/ios_system/blob/master/README.md Issues: In iOS, you cannot write in the ~ directory, only in ~/Documents/, ~/Library/ and ~/tmp. Most Unix programs assume the configuration files are in $HOME. So either you redefine $HOME to ~/Documents/ or you set configuration variables (using setenv) to some other place. This is done in the initializeEnvironment() function. Here's what I have: setenv PATH = $PATH:~/Library/bin:~/Documents/bin setenv PYTHONHOME = $HOME/Library/ setenv SSH_HOME = $HOME/Documents/ setenv CURL_HOME = $HOME/Documents/ setenv HGRCPATH = $HOME/Documents/.hgrc/ setenv SSL_CERT_FILE = $HOME/Documents/cacert.pem Your Mileage May Vary. Note that iOS already defines $HOME and $PATH.