Hello,
I'm trying to give a user (splunk) read access to everything inside /var/log. I've set some ACLs but it's not enough:
If I understand correctly this should be enough so that new files created inside /var/log get inherited ACL that allows users in splunk group to read those new files. But actually it is not:
Now that I'm trying to change or add more access lists, I'm stuck with an error:
I guess I've failed somewhere. Any hint?
I'm trying to give a user (splunk) read access to everything inside /var/log. I've set some ACLs but it's not enough:
Bash:
# getfacl /var/log
# file: /var/log
# owner: root
# group: wheel
group:splunk:r-----a-R-c---:fd-----:allow
owner@:rwxp--aARWcCos:-------:allow
group@:r-x---a-R-c--s:-------:allow
everyone@:r-x---a-R-c--s:-------:allow
If I understand correctly this should be enough so that new files created inside /var/log get inherited ACL that allows users in splunk group to read those new files. But actually it is not:
Bash:
# ls -l maillog
-rw-r----- 1 root wheel 1053981 Sep 25 10:35 maillog
Now that I'm trying to change or add more access lists, I'm stuck with an error:
Bash:
# setfacl -dm g:splunk:read_set:fd:allow /var/log
setfacl: /var/log: there are no default entries in NFSv4 ACLs
I guess I've failed somewhere. Any hint?