LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 06: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, 06:19 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 AM.

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