Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-17-2005, 03:30 AM   #1
LQ Newbie
Registered: Aug 2003
Location: Sweden
Posts: 22

Rep: Reputation: 15
Fedora3 + Apache Permissions problem


I've just installed Fedora3 with Apache Web server and I'm trying to install a PHP applciation which requires access write access to a directory in the web server directory as it installs through my browser. However I cannot give the browser permission to write to the directory.

In order to allow this, I have tried the following:
1. As root chmod the directory and all subdirectories to 777
2. As apache user chmod the directory and all subdirectories to 777
3. Chown the directories to apache user

I also ran a whoami.php script to try to find out which user the browser is, but the result was blank. It seems like the browser has no user. Can any one help?? I have tried this on two seperate machines with the same result.

Old 01-18-2005, 06:27 AM   #2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Remember that on FC3 Apache is restricted by SELinux as well as regular file permissions.

If you take a look the SELinux tab of Applications > System Settings > Security Level you will see the settings.

By default Apache is only allowed to access /var/www/ and subdirectories, but you can enable access to user's public html directories with the utility as well.
Old 01-18-2005, 07:17 AM   #3
LQ Newbie
Registered: Aug 2003
Location: Sweden
Posts: 22

Original Poster
Rep: Reputation: 15

Yup. That was the problem. I disabled SE Linux and it worked.



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
Refresh problem in Fedora3 bijit Linux - General 0 08-06-2005 12:21 AM
Apache 2 VirtualHost woes, permissions problem, just can't work it out. utow Linux - Software 2 04-19-2005 01:48 PM
APACHE Problem 2 dirs, identical permissions and security contexts, one gives 403? tones Linux - Software 2 03-13-2005 08:45 AM
Apache, RedHat ES Permissions Problem kclevenger Linux - General 0 05-25-2004 02:42 PM
Permissions problem w/ Apache conf dir player_2 Linux - Software 2 08-23-2003 07:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:15 PM.

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