multiple ACEs with the same ACL qualifier
Hello, I'd like to duplicate the following ACL: # file: /data/shared/ # owner: harry # group: harry group:1stgroup:r-x---a-R-c--s:fd:allow group:2ndgroup:rwxp--a-R-c--s:-d:allow group:2ndgroup:D-:-d:deny group:2ndgroup:r-a-R-c--s:f-i---:allow owner@:rwxpDdaARWcCos:fd:allow group@:r-xp--a-R-c--s:fd:allow everyone@:--:fd:allow So there are two group:2ndgroup:::allow entries. While it's annoying that I can't modify one specific of these with -m (both get altered without warning/confirmation reques), I also can't use -M to apply it read from file. Are there any workarrounds? Intention is to make sure newly created files can only be deleted/altered by owner, while two other groups need to access files and directories read-only, but one of them also needs write access. But must'nt delete foreign files/directories. Never had so many problems applying real-world needs... Done such setup hundred times without effort, but on other FS... Thanks, -Harry signature.asc Description: OpenPGP digital signature
Re: multiple ACEs with the same ACL qualifier
Wiadomość napisana przez Harald Schmalzbauer w dniu 8 lut 2013, o godz. 17:54: Hello, I'd like to duplicate the following ACL: # file: /data/shared/ # owner: harry # group: harry group:1stgroup:r-x---a-R-c--s:fd:allow group:2ndgroup:rwxp--a-R-c--s:-d:allow group:2ndgroup:D-:-d:deny group:2ndgroup:r-a-R-c--s:f-i---:allow owner@:rwxpDdaARWcCos:fd:allow group@:r-xp--a-R-c--s:fd:allow everyone@:--:fd:allow So there are two group:2ndgroup:::allow entries. While it's annoying that I can't modify one specific of these with -m (both get altered without warning/confirmation reques), I also can't use -M to apply it read from file. Are there any workarrounds? Please use -a and -x instead. The -m was fine for POSIX.1e ACLs, where you never have more than one entry per principal and the ordering doesn't matter. -- If you cut off my head, what would I say? Me and my head, or me and my body? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org