How to get Write access in vHost web(X) folder

Discussion in 'Server Operation' started by Nap, Jan 27, 2015.

  1. Nap

    Nap Member

    I'm migrating a site from another (foreign) server to mine. In order to do this, I need to get write access in the vhost's webX folder (/var/www/clients/clientY/webX) but can't find the thread here where I've seen the required command.

    I know it has a special permissions setting that even prevents root from having write access. But I would like to know how to (1) enable write access, (2) set it back to normal (read only).
    Anyone know?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The directory is proteted with the immutavle bit. Run:

    chattr -i /var/www/clients/clientY/webX

    and when youre finished, protect it again with:

    chattr +i /var/www/clients/clientY/webX
    Nap likes this.

Share This Page