World Writeable Permissions Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
dxfuentes
Posts: 4
Joined: Tue Aug 09, 2022 9:34 am

World Writeable Permissions Question

Post by dxfuentes »

I would like to understand why the following file and directory are World Writeable, and if it is possible to remove the World Writeable permission, or in the case of the directory at least setting a sticky bit for it, without breaking any usage related to either:

/usr/local/nagiosxi/var/NXTI_Write_Test
/usr/local/nagiosxi/html/includes/components/autodiscovery/jobs
jsimon
Posts: 339
Joined: Wed Aug 23, 2023 11:27 am

Re: World Writeable Permissions Question

Post by jsimon »

Hi @dxfuentes,

I don't have an insight into the history of the permissions of these files, but looking into their useage you should be fine to remove world permissions from them. I've included a link to our guidance on security hardening, in case you find that helpful at all.

https://answerhub.nagios.com/support/s/ ... stribution
cnorell
Developer
Posts: 141
Joined: Mon Nov 27, 2017 3:08 pm

Re: World Writeable Permissions Question

Post by cnorell »

dxfuentes,

While the vast majority of the XI interface won't be affected by changing permissions of the mentioned resources - and you can absolutely do so - it is possible that the SNMP Trap Interface and the Autodiscovery component won't work quite right.

Best Regards,

Cory Norell
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dxfuentes
Posts: 4
Joined: Tue Aug 09, 2022 9:34 am

Re: World Writeable Permissions Question

Post by dxfuentes »

cnorell wrote: Thu Dec 12, 2024 10:52 am dxfuentes,

While the vast majority of the XI interface won't be affected by changing permissions of the mentioned resources - and you can absolutely do so - it is possible that the SNMP Trap Interface and the Autodiscovery component won't work quite right.

Best Regards,

Cory Norell
Are you able to provide more detail as to what processes or user(s) would be writing to the file and directory that are not the nagios user (since owner/group are nagios). Seems concerning that these two allow World Writeable without actual justification. At a minimum, the directory should be set with a sticky bit.
Post Reply