HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Creating sites with specific user as owner (http://www.howtoforge.com/forums/showthread.php?t=45231)

smet 22nd April 2010 11:41

Creating sites with specific user as owner
 
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!

till 24th April 2010 23:44

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.


All times are GMT +2. The time now is 05:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.