• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Plesk Vhosts directory permissions

M

mdnitehk

Guest
Hello all,

I had a big problem about a week ago, and had do a full backup on my server.

I reinstalled the OS (FC3) and uploaded all the psa data, databases, and vhosts data.

I then had to manually reassign permissions / group / owner on all domains, and I think this is where the problem is.

Everything seemed to work just fine until today when I was trying add a new domain, and I got some errors which has to do with Plesk's inability to create a new folder and copy over the skeleton data.

What I would like to know is could someone please tell me the permissions / group / owner on the following vhost folders:

/home/httpd/vhosts
/home/httpd/vhosts/domain.com
/home/httpd/vhosts/domain.com/tmp
/home/httpd/vhosts/domain.com/conf
/home/httpd/vhosts/domain.com/httpdocs
/home/httpd/vhosts/domain.com/httpsdocs
/home/httpd/vhosts/chroot
/home/httpd/vhosts/.skel
/home/httpd/vhosts/default

I don't know what they should be, they are all set to root:root at the moment

Thank you,
Jeff
 
As outlined in my /vhosts/.skel/0/httpdocs/ directory,
ls -al .....

drwxr-xr-x 3 root root 36 Sep 28 04:00 .
drwxr-xr-x 5 root root 54 Sep 28 02:53 ..
drwxr-xr-x 2 root root 29 Sep 28 04:00 images
-rw-r--r-- 1 root root 568 Dec 20 11:08 index.html


That should be what you needed.
 
I had to create the vhosts directory as root, and I'm more concerned what that and the actual chroot, .skel, and default directories should be set to for owner, group, and permissions.

I have a feeling Plesk isn't able to create a directory in the vhosts directory at the moment, for some reason. But I don't want to set it wrong, and make the system more vulnerable.

Thank you,
Jeff
 
Back
Top