1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Plesk Vhosts directory permissions

Discussion in 'Plesk for Linux - 8.x and Older' started by mdnitehk, Jan 4, 2006.

  1. mdnitehk

    mdnitehk Guest

    0
     
    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
     
  2. Who-m3

    Who-m3 Guest

    0
     
    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.
     
  3. mdnitehk

    mdnitehk Guest

    0
     
    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
     
Loading...