LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-10-2006, 04:53 AM   #1
theVman
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Help with CVSWeb and protected directories required.


Hi,

Clearly i'm new to linux since I've posted here

The situation:

I've got a cvs repository protected with permissions to only allow the owner and users of a particular group access to view it and everything within it.

This stops CVSWeb from being able to list the repository as it cannot access the directory, the error "Error: /: Permission is denied" is shown in the browser.

If I allow the cvs repositories to be readable by world then everything works fine, so there isn't a problem with the cgi script not executing.

The question:

How to allow CVSWeb to show the protected folders? I'm running Red Hat el3, and Apache. I think its got something to do with the user and group that apache runs with maybe?

Thanks for any help, pointers or advice.

Viru.
 
Old 10-13-2006, 12:09 PM   #2
theVman
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
fixed.

I've fixed it myself. In case of futures searches i've replied.

Basically i discovered that the cgi scripts were running as apache user, so i changed the user and group that the apache server runs under to the admin user who maintains the directories. simple when you know how
 
  


Reply



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
Apache2: showing password protected directories hamish Linux - Software 7 11-15-2004 12:50 PM
add image to protected directories login box tommytomato Linux - Newbie 2 05-25-2004 08:37 AM
protected directories tommytomato Linux - Security 2 01-11-2004 10:34 PM
password protected directories dsgdevil Linux - General 1 02-17-2003 12:02 AM
Password Protected Directories TheSockMonster Linux - Security 2 05-31-2002 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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