Cannot change permissions or create files in client directory

Discussion in 'HOWTO-Related Questions' started by Stanny, May 22, 2013.

  1. Stanny

    Stanny New Member

    Hi

    I have been following the instructions on http://www.howtoforge.com/perfect-server-debian-squeeze-with-bind-and-courier-ispconfig-3-p4 and have carried out the additional quota task on my existing ISPConfig 3 installation (mount -o remount /).

    Not sure whether this is connected but the newest directory has permissions of root - see web8 below

    drwxr-x--x 11 web3 client2 4096 May 22 00:30 web3
    drwxr-x--x 6 web5 client2 4096 Feb 18 21:43 web5
    drwxr-x--x 6 web6 client2 4096 Mar 25 09:26 web6
    drwxr-x--x 6 web7 client2 4096 May 22 16:49 web7
    drwxr-xr-x 9 root root 4096 May 22 14:10 web8

    Even when I an logged in as the root super user when I attempt any directory creation, file editing etc. I get

    /var/www/clients/client2# mkdir web8/test
    mkdir: cannot create directory `web8/test': Permission denied

    I have never had this before. What can I do if I am already the root user?

    Thanks

    Ian
     
  2. darinpeterson

    darinpeterson Member

  3. Stanny

    Stanny New Member

    Thank you so much. chattr -i has removed the immutable property and the change in ISPConfig has prevented it being applied again. I can see that this attribute could be useful though. I have learnt something today ;).

    Ian
     

Share This Page