I use fuse
to mount some directories on Ubuntu. The user should have rwx
on directories and rw-
on files.
Now doing this with setfacl
is quite easy. Doing setfacl -R -d -m u::rwX,g::rwX,o::--- dir/
does the job perfectly fine.
But how to do this with umask
?