LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 12-03-2005, 07:17 PM   #1
thomasfingram
Member
 
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44

Rep: Reputation: 15
Setting file permissions so Apache can serve my files


I have Fedora Core 4 on my computer, and I'm running Apache primarily for myself (testing and such). Everytime I create a file or copy a file from elsewhere I get Apache gives me a 403 Permission error. I tried to set a group that could be allowed to control this folder but nothing works! I really don't know much about Linux yet, but this seems as if it ought to be a simple procedure.
 
Old 12-03-2005, 11:44 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
It probably lacks the necessary SELinux context and stuff. See the FC3 SELinux Apache guide.
 
Old 12-05-2005, 05:29 PM   #3
thomasfingram
Member
 
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44

Original Poster
Rep: Reputation: 15
SELinux? Besides I have FC4, not FC3. Or does that matter?
 
Old 12-06-2005, 05:39 PM   #4
thomasfingram
Member
 
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44

Original Poster
Rep: Reputation: 15
Also I checked around the settings and it says I have SELinux installed. At least options to configure it are available.
 
Old 12-06-2005, 05:42 PM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
What does it show when you do "ls -Z"?
 
Old 12-06-2005, 05:49 PM   #6
thomasfingram
Member
 
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44

Original Poster
Rep: Reputation: 15
Code:
drwxrwxr-x  thomas   webmaste system_u:object_r:httpd_sys_content_t html
 
Old 12-06-2005, 05:54 PM   #7
thomasfingram
Member
 
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44

Original Poster
Rep: Reputation: 15
That's what it says on everything, as far as I can see, except most entries don't have the 'd' in front.
 
  


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
Need help regarding setting Perl and file permissions... mrbadi Linux - Software 1 07-26-2005 01:03 PM
problems with setting permissions for groups of files liontamer13 Linux - Newbie 5 03-10-2005 12:16 AM
Apache Server won't serve up large files perrond Linux - Networking 4 06-21-2004 10:53 AM
Setting permissions to files. lonny Linux - Newbie 1 12-08-2003 07:09 PM
Setting Apache permissions in windows... King Linux - Newbie 0 08-05-2003 07:52 PM


All times are GMT -5. The time now is 11:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration