• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

/etc/sw/keys/ permissions change after 50plesk-daily cronjob

W

wyn none

Guest
Hey All,

I'm having some problems with the plesk daily maintenance cronjobs.
Every night they same to mess up the permissions on my /etc/sw/keys folder for some reason.

Does anyone have a clue what the script /usr/local/psa/admin/plib/DailyMaintainance/script.php does (beside messing up file permissions :)) The only thing i'm aware of that it runs the statistics, don't see how this is related.

Plesk stops functioning every night because it will not read my plesk license.
When i correct the permissions all is okay again.

The permissions look as following after the script is executed (103 as groupid instead of swkey-data):
drwxrws--- 7 psaadm 103 4.0K Oct 11 16:06 .
drwxr-xr-x 3 root root 4.0K Oct 22 2010 ..
drwxrws--- 2 psaadm swkey-data 4.0K Oct 6 10:10 backup
-rw-r--r-- 1 psaadm swkey-data 22 Oct 11 09:23 info
drwxrws--- 2 root swkey-data 4.0K Oct 22 2010 instances
drwxrws--- 2 psaadm swkey-data 4.0K Oct 6 10:10 keys
drwxrws--- 2 psaadm swkey-data 4.0K Oct 22 2010 lock
-rw-rw---- 1 root 103 3.5K Oct 11 16:06 registry.xml
drwxrws--- 2 psaadm swkey-data 4.0K Oct 22 2010 restart


Best regards,

Wyn
 
Solved.

The problem seems to be that somehow the permissions of the parent directory /etc/sw/keys seems to be copied over to the files in it at night. Settings the permissions back for the directory solved it.

Best regards,

Wyn
 
Back
Top