PDA

View Full Version : [SOLVED] root privileges for a folder and all sub-folders?



poisonborz
March 1st, 2011, 07:39 PM
Hola,

I've recently installed ISPConfig, but noticed that when I create a new user/folder in the var/www folder, it is created with specific permissions.
I want some users to have root privileges over all the content of var/www. I've tried to add this line to sudoers


username ALL= NOPASSWD: /var/www

But I suppose this only covers /www not its contents...

Hakunka-Matata
March 1st, 2011, 07:44 PM
http://ubuntuforums.org/showthread.php?t=445213

Have a look