Commit Graph

33 Commits

Author SHA1 Message Date
ander 108e46abee __acl: fix removal in freebsd 2019-04-19 15:04:18 +03:00
ander 186ce77bb2 __acl: add messaging 2019-04-19 14:58:44 +03:00
ander c7e6109462 __acl: tabs vs spaces 2019-04-19 14:49:02 +03:00
ander 05225352aa __acl: check for missing users and groups (common mistake) 2019-04-19 14:48:26 +03:00
ander 6d71ae342a __acl: update man more 2019-04-19 14:47:16 +03:00
ander 13df0a2a2b __acl: update man 2019-04-19 14:11:29 +03:00
ander 8729e39c21 __acl: combine two explorers into one 2019-04-19 13:48:24 +03:00
ander 86f45db1b9 __acl: add nice oneliners and move default ACL decision out of the loop 2019-04-19 13:30:50 +03:00
ander 0f3c162696 __acl: setting default ACL in FreeBSD and macOS is currently not supported 2019-04-19 13:16:35 +03:00
ander 0809d89836 __acl: replace sed -r where possible or make it portable without -r 2019-04-19 12:56:55 +03:00
ander f5d3196dd4 __acl: getfacl's -E not supported on FreeBSD 2019-04-19 11:31:38 +03:00
ander 68f61c35ff __acl: check for X after last occurrence of colon 2019-04-16 23:36:54 +03:00
ander f23099218a __acl: juggle man sections around because user/group are more important parameters 2019-04-16 23:29:38 +03:00
ander 7924c1339c __acl: avoid duplication and safer sed for last occurence replacement 2019-04-16 23:28:30 +03:00
ander 8b3c84dfef __acl: remove whitespace before inline comments too 2019-04-16 23:15:58 +03:00
ander a1634b3ec0 __acl: optimize gencode-remote 2019-04-16 19:24:38 +03:00
ander c1a34caba7 __acl: add "other" ACL entry support and some comments, remove getfacl's inline comments 2019-04-16 19:06:48 +03:00
ander e04d647d8e __acl: fix always check first if path exists 2019-04-16 18:09:47 +03:00
ander 53c963b2ee __acl: be bit more precise where the X is 2019-04-16 15:35:11 +03:00
ander 8b9b2c56ab __acl: be more strict because of reasons 2019-04-16 15:28:25 +03:00
ander cea639d1c9 __acl: we can't remove mask 2019-04-16 15:27:47 +03:00
ander 731986ef8b __acl: trying to understand X 2019-04-16 15:21:41 +03:00
ander 9e3cd47b9a __acl: command -v stdout to devnull 2019-04-16 15:03:07 +03:00
ander 2b5887bdbd __acl: we only care whether file is directory 2019-04-16 14:51:26 +03:00
ander ab954ffbcf __acl: always check first if path exists 2019-04-16 14:44:32 +03:00
ander ef8ff06b5f __acl: only directories can have default ACLs 2019-04-16 14:39:45 +03:00
ander d71eb3d8bd __acl: (open|net)bsd do not have (get|set)facl 2019-04-16 14:20:13 +03:00
ander 2cde09648c __acl: check if getfacl is available 2019-04-16 14:15:48 +03:00
Dimitrios Apostolou 437af3a0a3 Silence getfacl
otherwise it always prints the message:

    getfacl: Removing leading '/' from absolute path names
2019-04-15 20:51:02 +02:00
Dimitrios Apostolou 6062e3557c Output of grep should be quiet, as we care only for the exit code. 2019-04-15 18:05:16 +02:00
Dimitrios Apostolou 45e9ed441e Add support for ACL mask. 2019-04-15 18:05:16 +02:00
ander d7a1645e4e __acl: fix os explorer 2018-06-11 11:21:07 +03:00
ander 90adefe2e4 add __acl: Basic wrapper around setfacl 2018-06-08 15:06:35 +03:00