You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running encfs with strace the problem appears to be that EncFS uses the absolute path (/home/schuwi/subdir/encrypted/eNcRyPtIoNnOiSeS) to create the underlying file in the encrypted directory which fails because of the missing execute permission for user-x in /home/schuwi while using a relative path starting from pwd=/home/schuwi/subdir works fine because it doesn't have to pass through /home/schuwi.
Cropped output of sudo strace -f encfs -vf --public /home/schuwi/containers/matrix/data /home/schuwi/containers/matrix/.decrypted while running sudo setpriv --reuid=100 --regid=82 --clear-groups touch .decrypted/conduit/test in /home/schuwi/containers/matrix:
Why would I even want to switch to another user in my home directory? In my case I am running docker containers which internally don't run their code as root but which I would like to mount inside my home directory.
The text was updated successfully, but these errors were encountered:
My directory structure kind of looks like this
I am running EncFS 1.9.5 with
sudo encfs --public /home/schuwi/subdir/encrypted /home/schuwi/subdir/decrypted
.If I now switch to
user-x
while inside/home/schuwi/subdir
I can create files in./encrypted
(for the purpose of demonstration):but I cannot create files in
./decrypted
:When running encfs with strace the problem appears to be that EncFS uses the absolute path (
/home/schuwi/subdir/encrypted/eNcRyPtIoNnOiSeS
) to create the underlying file in theencrypted
directory which fails because of the missing execute permission foruser-x
in/home/schuwi
while using a relative path starting frompwd
=/home/schuwi/subdir
works fine because it doesn't have to pass through/home/schuwi
.Cropped output of
sudo strace -f encfs -vf --public /home/schuwi/containers/matrix/data /home/schuwi/containers/matrix/.decrypted
while runningsudo setpriv --reuid=100 --regid=82 --clear-groups touch .decrypted/conduit/test
in/home/schuwi/containers/matrix
:Why would I even want to switch to another user in my home directory? In my case I am running docker containers which internally don't run their code as root but which I would like to mount inside my home directory.
The text was updated successfully, but these errors were encountered: