1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Directory permissions

Discussion in 'Plesk 11.x for Linux' started by KamilL, Sep 5, 2012.

  1. KamilL

    KamilL New Pleskian

    11
     
    Joined:
    Sep 5, 2012
    Messages:
    10
    Likes Received:
    0
    Hello,
    my directory permission got messed up when I transferred data from my windows vps and ... well, its a pretty mess now.

    I tried the HowTo but vhostmng is missing. Is there a way to fix permission in an easy way for Parallels Plesk 11?
     
  2. ZopfWare

    ZopfWare Regular Pleskian

    25
    57%
    Joined:
    May 30, 2004
    Messages:
    215
    Likes Received:
    0
    Try this

    #/user/local/psa/adimn/sbin/httpdmng --reconfigure-all
     
  3. KamilL

    KamilL New Pleskian

    11
     
    Joined:
    Sep 5, 2012
    Messages:
    10
    Likes Received:
    0
    I couldn't access any of my web pages after executing httpdmng --reconfigure-all. Restoring the backup now.
     
  4. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    That command does not fix any permissions on a plesk server, instead it rebuilds the virtual host templates used by the webserver to map domains to there physical folders.

    As for permissions, if you have SHELL access to your server, then just

    chown -R <your_primary_ftp_username> : psacln /var/www/vhosts/domain.com/httpdocs/*
     
Loading...