I'd like to ADD myself (already in the webapps group) with drwxrwxrwx
permission to the whole folder recursively:
$ ls -l /var/lib/tomcat8/webapps
total 67904
drwxrwxrwx 3 root webapps 4096 Oct 1 21:39 ROOT
drwxrwxrwx 8 tomcat8 tomcat8 4096 Oct 11 18:01 AppWeb
-rwxrwxrwx 1 tomcat8 tomcat8 69522664 Oct 11 18:01 AppWeb.war
I don't want to remove permissions from users that already have it.
Other posts either come close to helping me or I don't understand, because I'm new.
It may help to know:
$ getent group webapps
webapps:x:1002:tony,root,tomcat8
setfacl -m u:tony:rwx /var/lib/tomcat8/webapps
. I'll correct that answer now. – muru Oct 27 '16 at 16:18ls
won't show ACL attributes (trygetfacl
instead) – muru Oct 27 '16 at 16:25