• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

FreeBSD Permissions - Backup Utility

Q

quabbo

Guest
I get the following error in the Backup Utility page. I just upgraded to 7.5.2 on FreeBSD 4.9. Any ideas?


"ERROR
DumpsList::init() failed: filemng failed: filemng: opendir failed: Permission denied
0: /usr/local/psa/admin/htdocs/domains/backup/dumps_list.php:248 psaerror(string "DumpsList::init() failed: filemng failed: filemng: opendir failed: Permission denied")"
 
Hello quabbo,

"opendir failed: Permission denied"

What are the permissons of the directory:
/usr/local/psa/var/dumps
??

Cheers.
 
Thats the track I was on too...

/usr/local/psa/var has these permissions...

drwxr-xr-x 8 psaadm psaadm 1024 Feb 3 05:14 dumps

I've noticed some major permissions errors throughout the server. One of my users is Gravatar. Why should gravatar be the owner of files in the /usr/local/psa/admin/htdocs directory?

drwxr-xr-x 5 gravatar 4001 512 Feb 1 23:17 modules

drwxr-xr-x 24 gravatar 4001 1024 Feb 3 01:43 .
drwxr-xr-x 19 gravatar 4001 512 Feb 1 23:17 ..

I've also noticed that SOME things are root:wheel, and some things are root:psaadm... before the upgrade, weren't they something like psaadm:psaadm ?

I'm sure that this is my problem, but I'm not sure what they should be properly set to.
 
I ran this on the /usr/local/psa/var/dumps/ directory... and it seems to have fixed the problem

chown psaadm:psaadm *


-----
I still think that the fact that Gravatar is owning some files in the PSA admin htdocs directory is a problem. Should I chwon all those files psaadm:psaadm as well? What permissions should they have?

Can someone on FreeBSD 4.9 with 7.5.2 please email me a copy of ls -la at your /usr/local/psa/admin/ and /usr/local/psa/admin/htdocs directories?

matthew at quabbo dotty com
 
Hello quabbo,

I would be willing to bet that
gravatar is user id: 10007
Have asked about this in the past.

And, I do belive, is should be psaadm:psaadm, as
you did.

Cheers.
 
Back
Top