]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: do 'X' bit check in an ACL-aware manner
authorMike Yuan <me@yhndnzj.com>
Tue, 5 Mar 2024 14:25:44 +0000 (22:25 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 6 Mar 2024 19:18:46 +0000 (03:18 +0800)
commit29a438e764cbfdddd43e175490e2d8c8eb21b79e
tree57d341ea03e194699a841d78a7add031cb2372e6
parent83a5db202d94683b10eb1c3cb88b3d0cc0febfdd
tmpfiles: do 'X' bit check in an ACL-aware manner

Follow-up for 26d98cdd78cb5283f5771bd5866997acc494b067

I.e. stat() cannot be used here.

Also, before this commit, the 'X' is only applied if
the owner has execute bit set. Now it takes group and
other into consideration too. setfacl(1) also has
the same behavior.
src/tmpfiles/tmpfiles.c