On Wed, 15 May 2013, Jean-Marc wrote:
> Personally and just about permissions, I would be more strict, like
> that:
> chmod 750 /var/www/mywebserver{1..5}

You have to leave read permissions for the web server to be able serve up 
the web pages.  That means 775 or 755 for directories and 664 or 644 for 
files.  

On Wed, 15 May 2013, Pol Hallen wrote:
[snip]
> chown mywebserver1:mywebserver1 /var/www/mywebserver1

If there is only one user per web server, that works.  Otherwise, you will 
have to work with group-level permissions.

Regards,
/Lars


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/alpine.bso.2.03.1305151527060.13...@gmail.com

Reply via email to