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 3rd February 2012, 16:18
link-m link-m is offline
Junior Member
 
Join Date: Dec 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Webserver created files have wrong permisions/owner

Hi,
I run ispconfig several users are on the system and everything is working fine, but...

Some users have wordpress installed and install plugins via the web interface. This way the webserver creates files on the hard disk in the web directory of the user.
These files have the ownership of www-data.www-data and not client1.web1 (just an example). As the webserver also creates directories the user is no longer able to delete these webserver created files.

Has anyone a solution to this problem other than running a cronjob the resets the permission of every file owned by the webserver every now and then?

As I ran my own selfmade hosting solution I had one apache instance for every user in chroot environment and that way all webserver created files had the correct ownership and permissions. But the ispconfig approach does not allow this, as far as I understand ispconfig...


Cheers,
Nicki
Reply With Quote
Sponsored Links
  #2  
Old 3rd February 2012, 16:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

Your website settingsare wrong. For CMS Systems like joomla, wordpress, typo3 etc. the following settings are required (as described in the manual):

php mode: php-fcgi
Suexec: on
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd February 2012, 18:17
link-m link-m is offline
Junior Member
 
Join Date: Dec 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there an easy way to define this a default for all new websites?
Reply With Quote
  #4  
Old 3rd February 2012, 18:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
 
Default

This is the default in current ispconfig 3 releases.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
apache, ownership, permissions, webserver

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
Mailfilter folders / files not created James A General 14 11th March 2011 15:57
Hacked server Captain Installation/Configuration 8 23rd December 2010 11:39
BIND Setup HELP Please! erentil Installation/Configuration 3 28th September 2008 14:31
Network questions regarding Ubuntu Server lubod Installation/Configuration 7 3rd January 2007 19:53
ISP: "Your changes cannot be saved " and no files are created tom Installation/Configuration 2 29th September 2006 11:50


All times are GMT +2. The time now is 17:03.


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