#1  
Old 24th September 2007, 21:34
Lord Wodan Lord Wodan is offline
Junior Member
 
Join Date: Feb 2007
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default Chmod problems

Hi,

I have setup ISPconfig and at first it seemed to work fine, I have FTP acces, all ok

Now I tried to install zenphotos and Icyphoenix (phpbb sort of)

My problem:

When I upload files with ftp, the owner is web5_sander and the group is web5.

When the script of zenphotos wants to write, he is user www-data. Even with chmod 777 on the maps, it wont work!

When i manually set the owner ship to web5_sander:www-data the script is able to create the folder, but this time with www-data:www-data.

so, the new files cannot be written.

how to resolve? (an end user should not need to alter the rights manually right?)
Reply With Quote
Sponsored Links
  #2  
Old 24th September 2007, 21:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,197
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

Install suphp.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th September 2007, 23:58
Lord Wodan Lord Wodan is offline
Junior Member
 
Join Date: Feb 2007
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Till,

Could you be more specific? I found suphp in synaptic and then???

What does it do? how does it work? Why?

Could you give me more info then " install suphp" please?
Reply With Quote
  #4  
Old 25th September 2007, 00:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,197
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

What about using the search function on howtoforge

http://www.howtoforge.com/suphp_debian_etch_ispconfig
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 25th September 2007, 00:39
Lord Wodan Lord Wodan is offline
Junior Member
 
Join Date: Feb 2007
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default

with all respect but I would like to understand something en learn from it. Just installing from a howto will fix it but i would not understand.
Reply With Quote
  #6  
Old 25th September 2007, 08:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,197
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
 
Default

Ok, and you used the search function and did not find all the posts in the forum explaining SuPHP?

Please use the search function first and if a topic is not already handled on the forum, then post it. SuPHP is very command and we have many threads about it here in the forum. Just enter suphp in the forum search functiona nd you will find them.

What is suphp for (from the SuPHP homepage):

Quote:
suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.
http://www.suphp.org/Home.html
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
chmod broke mail? breakaway General 8 13th April 2008 15:04
Joomla & MySql config and chmod permissions normdouglas Installation/Configuration 6 27th December 2006 12:39
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14


All times are GMT +2. The time now is 20:49.


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