root access problem in /var/www/clients/clientX/webXX/

Discussion in 'Installation/Configuration' started by asticot, Mar 28, 2013.

  1. asticot

    asticot New Member

    Hi,

    I recently migrate ISPCONFIG 3.0.4.x to 3.0.5

    I created 3 websites (web16 / web18 / web19)

    root@xxxxx:/var/www/clients/client1# ls -l
    drwxr-x--x 11 web1 client1 4096 28 nov. 13:06 web1
    drwxr-x--x 7 web14 client1 4096 22 janv. 18:10 web14
    drwxr-x--x 6 web15 client1 4096 28 mars 02:11 web15
    drwxr-xr-x 9 root root 4096 28 févr. 03:53 web16
    drwxr-xr-x 9 root root 4096 27 mars 10:59 web18
    drwxr-xr-x 9 root root 4096 28 mars 01:25 web19

    First, I noticed that now permissions for folders webXX has changed compare to ISPCONFIG 3.0.4.x; Is that normal ?



    Next, when I try to create a directory into one of the 3 new folders, I received an error (I am logued as root !)

    root@xxx:/var/www/clients/client1/web16# mkdir plop
    mkdir: impossible de créer le répertoire "plop": Permission non accordée

    I have no problems with olders fodlers like "web14", "web15" that were created using ISPCONFIG 3.0.4.x

    Any idea on what happened ?

    Thank you !
     
  2. till

    till Super Moderator

    The folder is protected with the immutable attribute.
     
  3. asticot

    asticot New Member

    Thank you Till for your answer !

    As you noticed, it is also possible to change this behaviour in
    System > Server Config > Web > Permissions > Make web folders immutable (extended attributes)

    And, in order to remove the immutable bit folders, just do a :
    chattr -i <folder>
     
  4. MicioMax

    MicioMax New Member

    I lost one day because of this damned immutable flag....
     

Share This Page