setfacl(1): Rewrite support for mask recomputation
* setfacl.cc (modacl): Move recomputing mask into new function. (check_got_mask): New function checking if mask is in input. (recompute_mask): New function to recompute mask. (addmissing): Align mask computation to Linux setfacl. (setfacl): Call check_got_mask and recompute_mask on Set, Delete and Modify actions. (usage): Rename --substitute to --set. (longopts): Add --set option. * utils.xml (setfacl): Rename --substitute to --set. * new-features.xml (ov-new2.4): Rephrase setfacl changes. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -34,8 +34,10 @@ What's new:
|
||||
What changed:
|
||||
-------------
|
||||
|
||||
- setfacl(1) now allows to use the -b and -k option combined to allow reducing
|
||||
an ACL to only reflect standard POSIX permissions.
|
||||
- Align setfacl(1) usage a bit closer to the usage on Linux. Rename -d option
|
||||
to -x, --substitute to --set. Add --no-mask and --mask options. Allow to
|
||||
use the -b and -k option combined to allow reducing an ACL to only reflect
|
||||
standard POSIX permissions.
|
||||
|
||||
- Fix (numeric and monetary) decimal point and thousands separator in
|
||||
fa_IR and ps_AF locales to be aligned with Linux.
|
||||
|
Reference in New Issue
Block a user