Creating sites with specific user as owner

Discussion in 'Installation/Configuration' started by smet, Apr 22, 2010.

  1. smet

    smet New Member

    Hi

    I run ISPConfig a little different then expected, and I need sites to be created with a specific user as owner of the directories and files.

    When creating a new site, ownership is set to "root" in some places, and client[id]/user[id] in other places.

    How do I go about making the last once owned (user and group) by i.e. 'harry'?

    What I need is for ISPConfig to create the sites as follows:

    # ls -ald /var/www/clients/client0/web2/web/
    drwx--x--- 4 harry harry 4096 Apr 22 09:25 /var/www/clients/client0/web0/web/

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not supported in ispconfig as ispconfig creates the website users for the sites, you might have to write your own apache config module if you want to change this.
     

Share This Page