LinuxQuestions.org
Review your favorite Linux distribution.
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 08-22-2003, 05:45 PM   #1
player_2
Member
 
Registered: Aug 2003
Posts: 57

Rep: Reputation: 15
Question Permissions problem w/ Apache conf dir


Hey, this is my first post here.

Well, I've gotten sick of su'ing every time I want to change the Apache config files on my server. So I created an account "webmaster" in group "webmaster" and chowned/chgrped the /usr/local/apache/conf directory to "webmaster". Permissions for conf are 644 (rw-r--r--), but for some reason webmaster cannot get an ls of the directory. webmaster can get an ls of /usr/local/apache and any of its subfolders just fine, EXCEPT for the /conf subdirectory. Is Apache locking up this directory somehow? Help.
 
Old 08-23-2003, 05:19 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome to LQ.

Directories need the execute bit set:
chmod 755 /usr/local/apache/conf

I don't reccoemnts this thoguh. Keeping the permissions as root is much more secure.
 
Old 08-23-2003, 07:28 AM   #3
player_2
Member
 
Registered: Aug 2003
Posts: 57

Original Poster
Rep: Reputation: 15
You know, that makes perfect sense. D'oh! Thanks.

I still don't enjoy the concept of su'ing to change the conf, but I guess it is more secure... however, I have this exact problem on the logs folder as well, so this turned out to be helpful after all. Thanks again!
 
  


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
Fedora3 + Apache Permissions problem stedo Linux - Software 2 01-18-2005 07:17 AM
Permissions to DIR praveenv Linux - Newbie 3 08-26-2004 07:40 AM
user home dir/permissions xilace Linux - Security 5 07-21-2004 12:33 PM
Apache, RedHat ES Permissions Problem kclevenger Linux - General 0 05-25-2004 02:42 PM
Apache (httpd) 2.0 conf authentication problem HELP!!! bleah-man Linux - Software 14 08-18-2003 09:04 AM


All times are GMT -5. The time now is 08:44 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