LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2003, 01:55 PM   #1
otisthegbs
Member
 
Registered: May 2003
Location: Vancouver
Distribution: RH9
Posts: 100

Rep: Reputation: 15
Apache problems


hi there, I'm using RH9 and have apache and php running. I'm currently trying to get a news management website up and running using something called tikiwiki. My webpage directory is /var/www/html and I'm not too sure what user the apache daemon runs under. I believe its nobody. Tikiwiki is saying that it doesn't have suffiecent privleges to write to the directory, and the bash setup script held within the document root, is saying it doesn't have permissions to execute the script even tho I am running the script as root. I believe that's because its trying to run the script through the apache user (nobody). So I was wondering how I change the permissions so that it can write.

I tried doing chmod 775 to the /var/www/html but that didnt work.
 
Old 05-23-2003, 02:06 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
On newer versions of apache - apache runs as apache. Older versions were nobody though.

You can find out by looking at the httpd.conf file and looking at the user and group options.

Tiki is good I have used it before. I can;t remember the directories it needs access to but it does tell you in the instructions. I would keep the files owned by your account. assign everything to a group of apache then do a chmod g+w for dirs that apache needs write access to.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache problems root3d Linux - Software 5 03-08-2004 05:26 PM
Apache problems BrettPower Linux - Networking 3 03-06-2004 11:52 PM
Apache problems rooster13 Linux - Networking 6 07-17-2003 12:41 AM
Apache virtualhost problems, apache install problems nyroc Linux - Software 2 06-10-2003 12:16 AM
Apache problems RecoilUK Linux - Networking 6 07-13-2001 07:42 PM


All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration