How do I remove permission to specific user using setfacl
I just executed the following command
setfacl -m user:userXXX:r /home/userYYY/private/
now I see
$ ll /home/userYYY/private/
total 32
drwx------+ 5 userYYY quant 512 Sep 5 03:26 ./
drwxr-xr-x 41 userYYY quant 32768 Sep 5 12:49 ../
- Does this little
+
the result of it ? - How do I remove permission to
userXXX
The following should do the trick :
setfacl -x u:userXXX home/userYYY/private/
And as far as I know, where ACL are enabled, a + sign is shown.
- yes
-
use command like this:
setfacl -m user:userXXX:-r /home/userYYY/private/
or remove user at all
setfacl -x user:userXXX /home/userYYY/private/