• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

/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