LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2007, 05:55 AM   #1
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Rep: Reputation: 39
Question When apache drops root priv to other user does...?


Hi Peeps,
When apache is set-up to drop root priv to what ever user, i beleive the files and folders need to be owned by apache the question is does this include the web files that are being served? so...
/usr/local/apache2/htdocs/*web files here*

Do they also have to be owned by apache with say a chmod 755??

Cheers
 
Old 12-14-2007, 07:51 AM   #2
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
I don't think the files need to be owned by apache unless they need to be writable by apache. In our environment we have files owned by web developers that need to upload and modify the files. If they were owned by apache then we would have to add developers to the apache group.
 
Old 12-14-2007, 09:43 AM   #3
helptonewbie
Member
 
Registered: Aug 2006
Location: England Somewhere
Distribution: Mandriva, PCLinuxOS, Karoshi, Suse, Redhat, Ubuntu
Posts: 518

Original Poster
Rep: Reputation: 39
thanks, its for this reason i was asking, (web devs) and i'm trying to hot up on what they can access and change etc etc. Lock down the system a bit more
Cheers
 
  


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
[priv] in SSH Sessions stefaandk Linux - Security 2 09-22-2006 01:05 PM
Running Apache as root user on an embedded distribution sharad Linux - General 1 09-11-2006 04:01 AM
Creating user directories in Apache root robojerk Linux - Networking 1 09-21-2004 01:34 PM
constant fan speed w/o root priv. CyberGnu Linux - Hardware 1 04-06-2004 11:49 AM
how to create a user that has access priv to mysql in rh 9.0? spyghost Linux - Software 4 11-02-2003 04:15 AM


All times are GMT -5. The time now is 04:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration