Website directory permissions for ls

Discussion in 'Installation/Configuration' started by ijujym, Aug 25, 2012.

  1. ijujym

    ijujym New Member

    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
    $ 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.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.

Share This Page