HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   root access problem in /var/www/clients/clientX/webXX/ (http://www.howtoforge.com/forums/showthread.php?t=61192)

asticot 28th March 2013 14:42

root access problem in /var/www/clients/clientX/webXX/
 
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 !

till 2nd April 2013 10:19

The folder is protected with the immutable attribute.

asticot 2nd April 2013 13:18

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>

MicioMax 18th December 2013 18:33

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


All times are GMT +2. The time now is 09:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.