[Solved] ISPCongfig 3 User permission have changed.

Discussion in 'Installation/Configuration' started by anark10n, Jun 12, 2018.

  1. anark10n

    anark10n Member

    Hey there
    For some reason, the permissions on the folders for the my clients have changed to root (both owner and group), and consequently, clients are unable to update their wordpress installations or install themes and the like. Is this normal? And is it advisable to change them back?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You should change the permissions back. Here is how the permissions and users shall look like:

    Code:
    root@server1:/var/www/test100.int# ls -la
    total 40
    drwxr-xr-x 10 root root    4096 Jun  6 22:35 .
    drwxr-xr-x  3 root root    4096 Jun  6 22:35 ..
    drwxr-xr-x  2 web1 client0 4096 Jun  6 22:35 cgi-bin
    drwxr-xr-x  2 root root    4096 Jun 13 10:00 log
    drwx--x---  2 web1 client0 4096 Jun  6 22:35 private
    drwx------  2 web1 client0 4096 Jun  6 22:35 .ssh
    drwxr-xr-x  2 root root    4096 Jun  6 22:35 ssl
    drwxrwx---  2 web1 client0 4096 Jun  6 22:35 tmp
    drwx--x--x  5 web1 client0 4096 Jun 11 17:27 web
    drwx--x---  2 web1 client0 4096 Jun  6 22:35 webdav
    all files and folders in the web folder shall be owned by the user and group of the website.
     
  3. anark10n

    anark10n Member

    Thanks for the assist. Had a bit of trouble changing the permissions on the files, but turned out to be an attribute issue that i worked out. Just a clarifying question, do the 'log' and 'ssl' directories have to be owned by root?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    yes
     
  5. anark10n

    anark10n Member

    Follow-up question, is there any specific reason why it has to be that way?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The web user shall not be able to put files there or to remove them.
     
  7. anark10n

    anark10n Member

    Ah, okay, i get it then. Again, thanks for the assist, and the explanations.
     
    till likes this.

Share This Page