We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
posix_acl { '/var/log': action => set, permission => [ 'user::rwx', 'group::r-x', 'other::---', 'mask::r-x', 'user:dd-agent:rx', ], provider => posixacl, recursive => true, }
It only applies to /var/log and not any subfiles
/var/log
To recursively set all files within with the same permissions
Notice: /Stage[main]/Profile::Logs/Posix_acl[/var/log]/permission: permission changed ["group::r-x", "mask::r-x", "other::r-x", "user::rwx", "user:dd-agent:r-x"] to ["group::r-x", "mask::r-x", "other::---", "user::rwx", "user:dd-agent:r-x"] # ls -la /var/log total 758120 drwxr-x---+ 15 root root 4096 Aug 9 03:28 . drwxr-xr-x. 19 root root 267 Sep 4 2018 .. drwxr-x---+ 2 root root 232 Sep 4 2018 anaconda drwx------+ 2 root root 99 Aug 9 17:01 audit -rw-------+ 1 root root 0 Nov 29 2019 boot.log ...
Not even boot.log was changed to new permissions
boot.log
The text was updated successfully, but these errors were encountered:
Could you run it with --debug so we can see what commands were actually run?
--debug
Sorry, something went wrong.
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
It only applies to
/var/log
and not any subfilesWhat behaviour did you expect instead
To recursively set all files within with the same permissions
Output log
Not even
boot.log
was changed to new permissionsAny additional information you'd like to impart
The text was updated successfully, but these errors were encountered: