ISPConfig virtual host /web directory set to 755 - is it safe?

Discussion in 'Server Operation' started by nijou, Jan 18, 2016.

  1. nijou

    nijou New Member

    Hello,
    I am having some problems with rsync which I use to back up my ISPConfig server and all hosted sites from a local Linux machine. I am getting "Permission denied (13)" errors on my local machine for /web directories (the ones in which ISPConfig treats as a root folder for the virtual host).

    I have noticed that it's only possible to download these /client{n}/web{n}/web directories with rsync only when /web directory permissions are set to 755.

    Unfortunately, by default ISPConfig sets the /web directory to permissions to 710. Is that on purpose? Am I creating any vulnerabilities when setting the /web directory to 755?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that you run your backup rsync as root.

    Off course that's on purpose.

    yes
     
  3. str1k3r

    str1k3r New Member

    Hi, how to safe_mode on, in a specific user/client in ispconfig3?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Safemode is a deprecated functon of PHP that does not exist anymore in recent PHP versions. ISPConfig uses the open_basedir restriction from PHP and it is set an enabled by default.
     

Share This Page