You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, ownership and mode can be configured directly within newsyslog.conf files via the optional second and third columns, though it may not be a good idea since e.g. /etc/newsyslog.d/com.apple.xscertd.conf explicitly sets ownership to _ces:admin.
Suggestions
zsh globbing is used to handle log rotation, but I don't have any log-rotated files on my machine to verify.
os_newsyslog_files_owner_group_configure and os_newsyslog_files_permissions_configure get the list of files via:
Files inside
/etc/newsyslog.d
are ignored.Also, ownership and mode can be configured directly within
newsyslog.conf
files via the optional second and third columns, though it may not be a good idea since e.g./etc/newsyslog.d/com.apple.xscertd.conf
explicitly sets ownership to_ces:admin
.Suggestions
zsh globbing is used to handle log rotation, but I don't have any log-rotated files on my machine to verify.
Checking for ownership:
Fixing ownership:
Checking for permissions:
Fixing permissions:
Checking ownership misconfiguration:
Fixing ownership misconfiguration:
Checking permissions misconfiguration:
Fixing permissions misconfiguration:
Changes can be inspected by running
diff
in a loop:The text was updated successfully, but these errors were encountered: