I’ve noticed a few times that there’s some kind of write protection on home directory. For example:
when downloading a file, the directory selector dialog pops up, and if you select /home/defaultuser, nothing gets downloaded, but if you select any directory within /home/defaultuser, it’s fine
when using certain 3rd-party apps/programs, it will give r/w access error for a file in ~, but work fine if it’s in ~/Downloads, etc.
What’s that all about?
attah
23 April 2022 14:46
2
SailJail’ed apps are not allowed to access it, that’s all.
Only specific sub-directories are allowed/allowable.
2 Likes
Any idea what the point is? Which directories, (how can you tell)?
Also, I guess you can disable sailjail via desktop file, but what about a cli program? Any command mod you can type to bypass?
attah
23 April 2022 18:24
5
Full arbitrary filesystem access could be a really bad idea.
Obvious examples: .bashrc, .ssh/*
Just read up on SailJail.
In February 2021 we released Sailfish OS 4.0.1 Koli, which introduced a new concept into the OS: Application sandboxing. For the device user, the sandboxing is mostly visible in the permissions dialogs, displayed when a...
Contribute to sailfishos/sailjail-permissions development by creating an account on GitHub.
CLI programs are not affected.
1 Like
I’m testing Pepper editor - https://github.com/vamolessa/pepper - and works great, bit won’t save anything in ~…
Same with running install script from fzf git-cloned directory, (permission denied).
Seems like the cli stuff is just as restricted for me
ric9k
24 April 2022 07:17
7
About text editors,
I moved my post there , as it is probably related to Sailjail.
There was a tIde update - it’s better, and working fine…
https://openrepos.net/content/szopin/harbour-tide-clone
1 Like
ric9k
24 April 2022 10:58
9
Thanks for sharing that Tide works. gonna install asap.
About pepper, did you compile it specially for SF?