Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th August 2007, 18:00
growlgrowlgrowl growlgrowlgrowl is offline
Junior Member
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default regarding apache2 user and group ("permission denied" to edit or save anything)

Hello there! I have recently set up Apache2 and PHP on Slackware 11 and it seems to work quite well, however unfortunately to cannot write files (neither create, nor write to existing ones), directories or do anything else on the hdd, although the dir and all dirs above are chmoded to 0777. Now after a googling I had to come to the conlcusion that it must be my "server user" who does not have the rights to do it - therefore I would have to set the server's group as the owner of the dir where my scrips would roam. However my Slackware does neither have user who's name would be anything similar to "apache" or "www", nor any group alike.
Do you happen to know if there is any way to see, under which UID the PHP scripts are executed? Can I simply create a group and assign my apache to it? Any help or other hints of any quality would be appreciated.

Thank you, thank you very much and please be so kind to exuse my bad English. It is not meant to sound rude or anything.
Reply With Quote
Sponsored Links
  #2  
Old 13th August 2007, 19:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Please take a look at the Apache configuration. Somewhere in there the User and Group are specified. Chown your directories to this user and group.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
How To Add user 'apache' into new group asyadiqin Installation/Configuration 4 16th November 2007 16:59
Maildir: wrong user and group AlArenal General 1 20th June 2007 08:17
user & group t.roijers Installation/Configuration 1 26th October 2006 18:06
what user and group does ispconfig run under funkyade Installation/Configuration 4 17th May 2006 20:56


All times are GMT +2. The time now is 10:09.


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