View Full Version : Problem with ftp ownership
Alex1
14th July 2009, 09:38
Hello,
i find a problem in ftp ownership, i want to set a vhost using mod-php so i make a chown www-data.www-data on web directory.
I also setup the ftp to use uid 33 and gid 33 (www-data) and it's ok, all work well.
I will create many sites with this feature and all works.
Now the problem, if i delete one site, the panel delete the system user www-data with all the problems this operation create.
till
14th July 2009, 09:40
Now the problem, if i delete one site, the panel delete the system user www-data with all the problems this operation create.
Thats the correct behaviour as the user has to be deleted when the site gets deleted as every site in a ispconfig system must have a dedicated user. You should not have changed the user for the site to ww-data.
Alex1
14th July 2009, 09:43
but this this case create ownership problem with mod-php
till
14th July 2009, 09:45
But changing the owner of the site is not a solution as it produces a lot of other problems security wise and with quota. If you want your php scripts to be run by the owner of the site use suphp, fcgi-php with suexec or cgi-php with suexec.
Alex1
14th July 2009, 09:47
But changing the owner of the site is not a solution as it produces a lot of other problems security wise and with quota. If you want your php scripts to be run by the owner of the site use suphp, fcgi-php with suexec or cgi-php with suexec.
but all this solution require more resurces then mod-php
till
14th July 2009, 09:51
Yes, but we will not disable quota an security for websites in ISPConfig. If you dont like the current apache plugin then feel free to write your own plugin.
Alex1
14th July 2009, 09:53
i will try, but can a plugin edit core action of delete system user?
till
14th July 2009, 10:13
Every action is implemented as a plugin.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.