On 10/13/2015 05:16 AM, Aaron Hastings wrote:
Sorry to bump this, but I see there's a good bit of activity recently and this is a really simple, but aggravating, issue that I cannot seem to resolve. My disk checks keep giving me back critical errors, specifically the two below: DISK CRITICAL - /sys/kernel/security is not accessible: Permission denied DISK CRITICAL - /sys/kernel/config is not accessible: Permission denied I'm not sure why this is, since both directories (filesystems?) are 644 in permissions and I'm obviously not running any sort of mandatory access control (i.e. SELinux or AppArmor). Even umounting these filesystems makes no difference.
You probably want 755 on the directory entries so that traversal is permitted (that's the "x" bit". 644 allows reading for everybody but not the ability to descend to deeper levels. 751 can be useful if one wants to allow the world to traverse, but not, read a directory (files can still be accessed if one knows the name, but one cannot find the name of a file). Cheers! -- +------------------------------------------------+---------------------+ | Carl Richard Friend (UNIX Sysadmin) | Boylston | | Minicomputer Collector / Enthusiast | Massachusetts, USA | | mailto:crfri...@rcn.com +---------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:20N 71:43W | +------------------------------------------------+---------------------+ _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users