Commit Graph

46 Commits

Author SHA1 Message Date
ander a4bc051ad9 __acl: use type deprecation 2019-06-21 13:02:44 +03:00
ander a5df0badaf __acl: add compatibility for deprecated parameters 2019-06-21 12:55:59 +03:00
ander 91a6ecc701 __acl: rewrite 2019-06-21 12:55:59 +03:00
ander e30d76014a __acl: update man 2019-05-19 23:44:20 +03:00
ander 02e10b1ffd __acl: fix SC1117 2019-05-19 23:27:58 +03:00
ander 03f8c3aaed __acl: don't exit on missing file when dry run 2019-05-19 23:22:02 +03:00
ander 7a25ec00ed __acl: add TODO note about dry-run 2019-05-14 13:42:56 +03:00
ander 7dfc5bc473 __acl: we do not have to check here if file exist 2019-05-14 13:41:32 +03:00
ander ca8bc959ed __acl: add todo note 2019-05-14 13:27:43 +03:00
ander 4c21983698 __acl: remove macosx because no way to properly test 2019-04-24 00:39:54 +03:00
ander f586937614 __acl: drop Solaris because POSIX-draft ACL specification is not supported 2019-04-24 00:36:53 +03:00
ander d66b6969f3 __acl: rename missing_users_groups explorer to more generic name for future checks 2019-04-24 00:09:49 +03:00
ander 894311a572 __acl: if users/groups check fail, log error and exit in explorer 2019-04-24 00:08:43 +03:00
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