Permissions changing from 755 to 750

rebouy

Member
PartnerNOC
Sep 1, 2010
21
0
51
Hi we are having a related issue in a couple servers.

In one server a subdomain's root folder is changing permissions from 755 to 750 apparently on its own.
In another server (different client) an addon domain's root folder is doing the same.

This causes the sites to appear offline.

Any idea what could be causing this or in what way can i track it?
 

rebouy

Member
PartnerNOC
Sep 1, 2010
21
0
51
Hi cPtechie,

Thanks for the reply.

There is no cronjob running. not at user level or server level (at least not ours) that would do chmod
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
If the machine is a dedicated not VPS, you could try installing auditd and using auditctl to track when the file is modified and by what:

Linux audit files to see who made changes to a file

This is a good guide on using auditctl to perform that task. It will not install on VPS systems many times, so the machine(s) must be non-VPS to add auditd to run auditctl checks on set files or folders.
 

ruzbehraja

Well-Known Member
May 19, 2011
392
11
68
cPanel Access Level
Root Administrator
Hi we are having a related issue in a couple servers.

In one server a subdomain's root folder is changing permissions from 755 to 750 apparently on its own.
In another server (different client) an addon domain's root folder is doing the same.

This causes the sites to appear offline.

Any idea what could be causing this or in what way can i track it?

From where are you changing the permissions? File Manager?

It could be possible that the folders are owned by a different account and hence in the file manager although it is showing you that the permissions have been changed, when you refresh, it is resetting the original permissions.