#1  
Old 16th September 2010, 04:52
YbeddyJ YbeddyJ is offline
Junior Member
 
Join Date: Sep 2008
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
Default Ispconfig WebUser

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?
Reply With Quote
Sponsored Links
  #2  
Old 16th September 2010, 05:02
YbeddyJ YbeddyJ is offline
Junior Member
 
Join Date: Sep 2008
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
Default

i do know that i could just give full access to OGU but i dont want that to be my solution
Reply With Quote
  #3  
Old 16th September 2010, 10:33
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,745
Thanks: 840
Thanked 5,598 Times in 4,409 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
YbeddyJ (22nd September 2010)
  #4  
Old 16th September 2010, 17:23
YbeddyJ YbeddyJ is offline
Junior Member
 
Join Date: Sep 2008
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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
web18@xxxx:/var/www/clients/client6$ ls -l
drwxr-xr-x 6 root root 4096 2010-09-16 07:51 web18
Reply With Quote
  #5  
Old 16th September 2010, 17:28
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,745
Thanks: 840
Thanked 5,598 Times in 4,409 Posts
Default

Quote:
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
No. The permissions and the ownership are fine.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 22nd September 2010, 06:08
YbeddyJ YbeddyJ is offline
Junior Member
 
Join Date: Sep 2008
Posts: 16
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

issue solved
Reply With Quote
Reply

Bookmarks

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
ISPconfig setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 14:13
Install a Comodo InstantSSL Certificate for ISPconfig Apache, Postfix, Imap & Pop gwa7 Tips/Tricks/Mods 1 30th September 2009 19:08
Install a Comodo InstantSSL Certificate for ISPconfig Apache, Postfix, Imap & Pop gwa7 Installation/Configuration 0 10th April 2009 05:54
ISPConfig 2.3.1-dev released till General 0 8th May 2006 23:18
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16


All times are GMT +2. The time now is 11:47.


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