Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th March 2012, 12:41
buhlerax buhlerax is offline
Junior Member
 
Join Date: Aug 2010
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Question Run the command chmod the file permissions www-data: www-data inside the jailkit

I have a php application that needs to run on mod-php, is even faster.
The permissions of the client's domain is web7: client6.
The problem is that the user created for shell access is web7: client6 and can not chmod files in php script that creates the web folder.
The scritp are an owner and does not allow modifications. And because of the mod-php everything is recorded as www-data: www-data.
I can do for this specific user shell access web7: www-data?
There is another way around this?
I've tried several things without success. Even setting group, user and sudo command within the jailkit.
thank you
Reply With Quote
Sponsored Links
  #2  
Old 19th March 2012, 09:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

You should try to use fastcgi instead of mod-php and enable suexec. fastcgi is as fast as mod_php and in conjunction with suexec it enables the php scripts to write to the web directories.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th March 2012, 13:37
buhler buhler is offline
Junior Member
 
Join Date: Apr 2008
Location: Curitiba - Parana - Brasil
Posts: 10
Thanks: 0
Thanked 3 Times in 2 Posts
 
Default

I tested the fastcgi is slowed with the application that my client need.
I set up jailkit so that they could change the permissions of folders and files in folders inside your ssh only. This was the solution I found.
Tank you Till.
__________________
Alexandre Pereira Bhler
Simo & Bhler Ltda (Infobrindes)
http://www.simaoebuhler.com.br
Telefone: (41) 3039-5428
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
rkhunter warnings esezako General 7 27th September 2011 08:28
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 14:21
adding mail boxes kwickcut Server Operation 20 11th August 2010 02:02
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 17:26
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29


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


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