Menu

#297 Linux: findPathOf() fails when using ACLs

v3.5.23
open
nobody
None
5
2017-03-13
2017-03-13
No

When using ACLs, the wrapper will fail with: Unable to get the path for '/path/to/wrapper-linux-x86-64'-Success

Basically:
wrapper is owned by user:user, chmod 770
ACL on wrapper sets 7 for user2.
When running as user2, checkIfExecutable() fails because it doesn't check ACLs.

Solution:
checkIfExecutable() would need to be updated to link against libacl and check if there is an ACL granting execute.

Workaround:
chmod 775 wrapper

Discussion


Log in to post a comment.