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)
-   -   Website directory permissions for ls (http://www.howtoforge.com/forums/showthread.php?t=58384)

ijujym 25th August 2012 19:43

Website directory permissions for ls
 
Hello, on Centos when ispconfig creates a site ( e.g. /var/www/clients/client1/web8 ) system user without sudo unable to list files in the directory
Code:

$ ls /var/www/clients/client1/web8
ls: cannot open directory .: Permission denied

Is it possible to safely give this permission to the user? Because when connecting by ssh with eclipse the websites code is unreachable.

till 26th August 2012 13:15

You have to connect with the user of the website or root to access the files. You can change the permissions of course if security does not matter for your server.


All times are GMT +2. The time now is 07:41.

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