Folder and files permissions

Discussion in 'Installation/Configuration' started by betafer, Feb 17, 2017.

  1. betafer

    betafer Member

    Hello,
    it is possible to change folders and files permissions of ispconfig, after update to 3.1.2 folder permissions in web1 is set to 771 instead of 755
    if yes, where ?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The permission 771 is correct and works fine on my servers, 775 would allow all users of all websites to read the website files of all other users, so that's nothing that you would want to use. Maybe you should describe what your problem is?
     
  3. betafer

    betafer Member

    755 not 771...
    I would like to have folders permissions set on 755 instead of 771
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Right, I meant 755. My question was why do you want to make your setup insecure by allowing each client to access all other websites?
     
  5. betafer

    betafer Member

    771 is safe ?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The default permissions are safe, that's why we use it and not 755. What you do by assigning 755 is that you give world read access to all clients and all users of your system so any client can browse the contents of all other client sites.
     
    Last edited: Feb 17, 2017
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Btw, the permissions of the web dir in ISPConfig are not 771, they are 711:

    Code:
    root@server1:/var/www/test.tld# ls -la
    total 36
    drwxr-xr-x 9 root  root    4096 Feb 16 14:03 .
    drwxr-xr-x 5 root  root    4096 Feb 16 14:03 ..
    drwxr-xr-x 2 web13 client0 4096 Feb 16 14:03 cgi-bin
    drwxr-xr-x 2 root  root    4096 Feb 17 08:03 log
    drwx--x--- 2 web13 client0 4096 Feb 16 14:03 private
    drwxr-xr-x 2 root  root    4096 Feb 16 14:03 ssl
    drwxrwx--- 2 web13 client0 4096 Feb 16 14:03 tmp
    drwx--x--x 4 web13 client0 4096 Feb 16 14:03 web
    drwx--x--- 2 web13 client0 4096 Feb 16 14:03 webdav
    
     

Share This Page