diff options
author | Mike Yuan <me@yhndnzj.com> | 2022-12-17 00:44:06 +0800 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2023-04-27 15:15:09 +0800 |
commit | 26d98cdd78cb5283f5771bd5866997acc494b067 (patch) | |
tree | 6b59215bfcd3ae90e8c54915916eff3c08b80b8d /man/locale.conf.xml | |
parent | 49c778e6bf70ebf230989ab84e9ce7f1b26beef2 (diff) | |
download | systemd-26d98cdd78cb5283f5771bd5866997acc494b067.tar.gz |
tmpfiles: add conditionalized execute bit (X) support
According to setfacl(1), "the character X stands for
the execute permission if the file is a directory
or already has execute permission for some user."
After this commit, parse_acl() would return 3 acl
objects. The newly-added acl_exec object contains
entries that are subject to conditionalized execute
bit mangling. In tmpfiles, we would iterate the acl_exec
object, check the permission of the target files,
and remove the execute bit if necessary.
Here's an example entry:
A /tmp/test - - - - u:test:rwX
Closes #25114
Diffstat (limited to 'man/locale.conf.xml')
0 files changed, 0 insertions, 0 deletions