Permissions for Clients (Website folders)

Discussion in 'Installation/Configuration' started by raspdroid, Jan 31, 2017.

  1. raspdroid

    raspdroid Member

    Hi!,

    I have installed ISPConfig 3.1.2. in master server (web server) and other 3 hosts more. Mail, DB, DNS servers. All works fine, include Let's encrypt. But I have a problem with permissions in web folder for each client.

    For example por Joomla CMS the permissions for folder are 755 but I need to put 775 permissions for my Joomla installation, otherwise it does not work well.

    When I installed a template (Yootheme template) I have to change the permissions to 775 to some folders, otherwise it does not work well. For example I can not change the style, or any other parameter of the template.

    I have uploaded Joomla files from FTP (pure-ftpd), work fine but the owner and groups are web1:client1 , when I install a Joomla extension the owner and group for that new files are www-data:www-data. It's correct? Or should be web1:client1?


    Master Server (web.server.net)
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.1.2


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 7.0.14-2

    ##### PORT CHECK #####

    [WARN] Port 143 (IMAP server) seems NOT to be listening
    [WARN] Port 993 (IMAP server SSL) seems NOT to be listening
    [WARN] Port 110 (POP3 server) seems NOT to be listening
    [WARN] Port 995 (POP3 server SSL) seems NOT to be listening
    [WARN] Port 25 (SMTP server) seems NOT to be listening
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    [WARN] Port 22 (SSH server) seems NOT to be listening
    [WARN] Port 25 (SMTP server) seems NOT to be listening

    ##### MAIL SERVER CHECK #####


    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Apache 2 (PID 18972)
    [WARN] I could not determine which mail server is running.
    [WARN] I could not determine which pop3 server is running.
    [WARN] I could not determine which imap server is running.
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1488)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:2273 (840/sshd)
    [localhost]:10024 (1966/amavisd-new)
    [anywhere]:3306 (25636/mysqld)
    [localhost]:10026 (1966/amavisd-new)
    [localhost]:11211 (845/memcached)
    [anywhere]:111 (963/rpcbind)
    [anywhere]:8080 (18972/apache2)
    [anywhere]:80 (18972/apache2)
    [anywhere]:8081 (18972/apache2)
    [anywhere]:8085 (1480/mmonit)
    [anywhere]:21 (1488/pure-ftpd)
    ***.***.***.***:53 (841/named)
    [localhost]:53 (841/named)
    [anywhere]:4949 (641/perl)
    [localhost]:953 (841/named)
    [anywhere]:443 (18972/apache2)




    ##### IPTABLES #####



    Best regards
     
    Last edited: Jan 31, 2017
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Either you are using a wrong PHP mode or you missed to enable suexec. The correct PHP mode for a cms system that writes files to the harddisk is PHP-fpm or php-fcgi and the suexec checkbox must be enabled in the website settings.
     
  3. raspdroid

    raspdroid Member

    Thanks Till,
    PHP-fpm not work, but php-fcgi work like as charm.

    Best regards
    --javier
     

Share This Page