LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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


Closed Thread
  Search this Thread
Old 06-01-2008, 08:09 AM   #1
sekasi
LQ Newbie
 
Registered: May 2008
Location: Chicago, IL
Distribution: Fedora Core && Red Hat
Posts: 5

Rep: Reputation: 0
Question Apache as folder owner


Heya.

Because of SElinux + php safe mode I was forced to set apache as owner of my httpdocs directory to allow php to write xml files with fopen.

Is this a major security no-no ? I've been trying to think what could go wrong (all folders are 755, all php files are 644) but I don't know linux or apache well enough.

If anyone could tell me why I shouldn't let Apache own the folder, that would be great. Alternatively, a different solution would also be smashing


Thanks you guys!
 
Old 06-01-2008, 08:18 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread once and in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is kind of a duplicate of http://www.linuxquestions.org/questi...nd-php-646104/.
 
  


Closed Thread



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
Change owner, group and permission settings on file and folder creation?? helptonewbie Linux - Newbie 9 12-17-2007 03:03 PM
missing folder permission, owner and group tritonw Linux - General 4 10-28-2007 11:21 PM
Changeing folder owner azz131 Fedora 3 01-31-2007 04:32 PM
folder owner/group weird curos Slackware - Installation 1 07-18-2005 07:13 AM
file and folder owner ship wisdom Linux - Software 2 12-24-2004 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:32 PM.

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
Open Source Consulting | Domain Registration