• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

/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