Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th July 2009, 08:38
Alex1 Alex1 is offline
Junior Member
 
Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with ftp ownership

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.
Reply With Quote
Sponsored Links
  #2  
Old 14th July 2009, 08:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

Quote:
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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th July 2009, 08:43
Alex1 Alex1 is offline
Junior Member
 
Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

but this this case create ownership problem with mod-php
Reply With Quote
  #4  
Old 14th July 2009, 08:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th July 2009, 08:47
Alex1 Alex1 is offline
Junior Member
 
Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
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
Reply With Quote
  #6  
Old 14th July 2009, 08:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 14th July 2009, 08:53
Alex1 Alex1 is offline
Junior Member
 
Join Date: May 2007
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i will try, but can a plugin edit core action of delete system user?
Reply With Quote
  #8  
Old 14th July 2009, 09:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
 
Default

Every action is implemented as a plugin.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
ftp www-data problem

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP problem ? p.a General 4 21st April 2009 15:51
FTP ISPConfig problem.. please help..... rpavez Installation/Configuration 11 15th January 2009 21:25
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38


All times are GMT +2. The time now is 02:32.


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