• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

/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