While configuring cluster on CentOS 7.2 machines I have noticed that some directories have too open permissions 777, such as:
As for the tmp in user directory it permits anyone to delete files that are user specific. And as for the second directory it causes following error to happen:
error: skipping "/opt/mapr/fluentd/fluentd-0.14.00/var/log/fluentd/fluentd.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
What is the purpose for such permissions? Could I change them to more restrictive at least for `others` without harming cluster health?