Actions
Bug #48169
closed/etc/sudoers.d/ceph-osd-smartctl file permissions don't conform to standards
% Done:
0%
Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Ceph is creating this file with 0600 permissions. This causes commands and utilities that rely on the output of `visudo -c` to fail as the defaults for the mode it checks against is 0440.
the default file mode is 0440 (read‐able by owner and group, writable by none). The default mode may be changed via the “sudoers_mode” option to the sudoers Plugin line in the sudo.conf(5) file.
This looks like a quick PR to change the mode from 600 to 440 in a couple places. I've put together a PR showing what I'm assuming the fix for this problem would be.
Actions