Ispconfig WebUser

Discussion in 'Installation/Configuration' started by YbeddyJ, Sep 16, 2010.

  1. YbeddyJ

    YbeddyJ New Member

    on a normal webserver installation of ubuntu www-data group and owner has full access to /var/www and as such during a live run if a element on the site being hosted needs to write to the folder maybe to create a file or directory then the process would succeed.

    in the case of ispconfig the ownership is changed to webX:clientX whenever element on the site being hosted needs tocreate file or folders (as in the case of moodle for new course contents) a permission error is thrown

    i thought of changing the permissons to reflect webx:www-data instead but that what mean ill have to do the same for every new client/site...what will be a good fix for this issue?
     
  2. YbeddyJ

    YbeddyJ New Member

    i do know that i could just give full access to OGU but i dont want that to be my solution
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You selcted the wrong PHP mode.

    1) enable suexec in the website settings.
    2) use either cgi-php for low traffic sites or php-fcgi for high traffic sites. Do not use mod_php.
     
  4. YbeddyJ

    YbeddyJ New Member

    thanks for that till
    but another question then


    in the example below, shouldn't web18 be the owner for directory <web18> just curious to enable the shell client access to create objects in the root of web18
    [email protected]:/var/www/clients/client6$ ls -l
    drwxr-xr-x 6 root root 4096 2010-09-16 07:51 web18
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    No. The permissions and the ownership are fine.
     
  6. YbeddyJ

    YbeddyJ New Member

    issue solved
     

Share This Page