Persistent DirectAdmin Folder Permission Issue

pcburakq

Verified User
Joined
Feb 6, 2015
Messages
31
Hello there!

The permissions of the DirectAdmin folder are automatically changing to the root user consistently.
Even though we reset the permissions with;

Code:
./set_permission.sh
using da_files, they revert back to root after approximately 30 minutes.

After examining cron and DirectAdmin log records, we compared and analyzed the folder's timestamp, but we weren't able to find anything out of ordinary.

Do you guys have any idea what could be the reason for the permissions to be corrupted?

Regards
 
start with :
Code:
cd /usr/local/directadmin/scripts
./set_permissions.sh all

I dont see all parameter in your command
 
I dont see all parameter in your command
He probably did, because without the "all" it does nothing and only gives you an overview which options you can use. So some input like all or homes is required for it to work.

If you chown the directory manually, will it get back to root also?
Did you check your cronjobs and also the Directadmin logs?
 
Hello,

Code:
./set_permissions.sh all

Is bit of an overkill, i'm using;

Code:
./set_permissions.sh da_files

And it works, fixes the problem.

Then somehow, ownership returns back to root.root shortly after.

Regards
 
I also used,

Code:
./set_permission.sh all

As suggested, no avail.

Any more ideas?
 
Back
Top