You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Chien-Lung Wu <cw...@deltartp.com> on 2003/05/09 21:36:40 UTC

access permission on setting up Subversion server. Help!

Hi, 

	I installed, following the INSTALL Guide,  Subversion 0.21.0 on
Linux7.2. 
I have access permission problem when I want to use "svn co http://.....".
Can anyone help me out?

	Following is my process to install/test subversion:

  a. Install everything needed.
  b. Create a repostitory

	svnadmin create /svn/repos/L3 -----> so now I have a repository L3

   c. Modify httpd.conf
	Following the instruction, I add a very simple directive on the
buttom of httpd.conf

	<Location /svn/repos/L3>
		DAV svn
		SVNPath /svn/repos/L3
	</Location>

   d. Restart httpd
	httpd -k stop
	httpd -k start

   e. test
	I use following command to test the configuration:
	
		svn co http://172.18.24.211/svn/repos/L3  -----> checkout
repository L3
					    ^^^^^^^^^^^^^^
		(Here 192.168.79.82 is the IP address of my Linux box.)

	And I get the error message:
		svn: RA layer request failed
		svn: The pathe was not part of a repository
		svn: PROFIND / 405 method not allowed.

	And I check the /usr/local/apaches/logs/error_log. The error message
is:
	[Fri May 09 17:18:55 2003] [error] [client 172.18.24.211] Could not
open the SVN filesystem 	at /svn/repos/L3  [500, #160029]
	[Fri May 09 17:18:55 2003] [error] [client 172.18.24.211]
(13)Permission denied: Berkeley DB 	error while opening environment for
filesystem /svn/repos/L3/db:
	Permission denied  [500, #160029]
	[Fri May 09 17:21:38 2003] [error] [client 172.18.24.211] Could not
fetch resource 	information.  [500, #0]
	[Fri May 09 17:21:38 2003] [error] [client 172.18.24.211] Could not
open the SVN filesystem 	at /svn/repos/L3  [500, #160029]
	[Fri May 09 17:21:38 2003] [error] [client 172.18.24.211]
(13)Permission denied: Berkeley DB 	error while opening environment for
filesystem /svn/repos/L3/db:
	Permission denied  [500, #160029]

	
As the INSTALL guide said, there exist permission problem. So what is the
permisiion problem?
And how can I set the correct permision (which file(s) or directories)?

Appreciate your help.


Best Regards,


Chien-Lung

					


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: access permission on setting up Subversion server. Help!

Posted by Kevin Blaisdell <bl...@yahoo.com>.
I believe the problem you are having is that your
apache process doesn't have perms to the repository
you created.  You need to chmod the repository
directory so that it does.  When you create a new
repository the perms are set based on the account you
ran svnadmin under.

--- Chien-Lung Wu <cw...@deltartp.com> wrote:
> Hi, 
> 
> 	I installed, following the INSTALL Guide, 
> Subversion 0.21.0 on
> Linux7.2. 
> I have access permission problem when I want to use
> "svn co http://.....".
> Can anyone help me out?
> 
snip

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org