Artificial intelligent assistant

How to revoke access for a particular user? How can I revoke all access (r,w,x) for a particular user to a file or directory tree (while still giving read permission to others)? Does setfacl with mask allow this ?

Yes setfacl should do it. Try the below, does it work ?


setfacl -m u:user:--- file


Where:

* `-m` is to modify the file/directory ACL
* user is the username for which you want to change permission
* `---` will be the no permissions, replacing r,w,x
* file is the name of the file for which you want to change permissions

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy db18a2c9a609f044739f0b23109ed6c5