a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

Home directory

Open upintheairsheep opened this issue 1 year ago • 1 comments

Please change the home directory to /private/var/mobile/Containers/Data/Application/60CD8846-C866-41CA-929 F-06D7C03F9F05/Documents instead of /private/var/mobile/Containers/Data/Application/60CD8846-C866-41CA-929 F-06D7C03F9F05/ as otherwise it gives error message.

PermissionError: [Errno 1] Operation not permit ted: '/private/var/mobile/Containers/Data/Appli cation/60CD8846-C866-41CA-929F-06D7C03F9F05/.tu beup'

PermissionError: [Errno 1] Operation not permit ted: './.instaup'

PermissionError: [Errno 1] Operation not permit ted: './.tikup'

upintheairsheep avatar Aug 08 '22 23:08 upintheairsheep

Hi, that is a recurring issue: users cannot write in $HOME, only in $HOME/Documents. Hence a-shell uses a bunch of environment variables to set the position if configuration files in a writeable directory. But changing the value of $HOME creates a lot of other issues because some iOS functions use the environment variable (it can even result in a non-running app).

You can try changing it before you run the script (and change it back at the end of the script), or check if there is an environment variable that allows you to specify the position of the configuration files (.tubeup, .instaup and `.tikup).

holzschu avatar Aug 09 '22 07:08 holzschu