You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lady Tramp <la...@gmail.com> on 2005/03/25 08:23:18 UTC

About permission on repository

Hi, 
   I'm new here. I'm setting up a repository and want it to be able to
access via http.
I think that I came to the right way because I can access it from
http. Then, when I begin
to set permission, I have some difficulty. I want the repository can
be access, read/write,
only through http/https. Then, I created a new user 'svn':'svn' and
set the repository
permission to 770. At this point, I cannot access the repository via
http anymore with
username in my AuthUserFile. I wonder, are there anyway to make apache access 
repositiory with svn previlege?

thank you
-- 
--
The Lazy Dog

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

Re: About permission on repository

Posted by "Martin J. Stumpf" <mj...@jhu.edu>.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Lady Tramp wrote:
<blockquote cite="midcb98ba7d050325002340ff340c@mail.gmail.com"
 type="cite">
  <pre wrap=""> Then, when I begin
to set permission, I have some difficulty. I want the repository can
be access, read/write,
only through http/https. Then, I created a new user 'svn':'svn' and
set the repository
permission to 770. At this point, I cannot access the repository via
  </pre>
</blockquote>
Apache MUST have rw access to the file trees.<br>
I created a group called svn and added apache (the cannonical user&nbsp; for
httpd) to it. I then create repos with user:root group:svn and set the
mode to 770 as you did. Also make the group setgid. This way I also put
my uid in group svn so that I can run svnadmin on the repos.<br>
<br>
Remember to check the apache logs after making changes. They are a
great source for troubleshooting just what isn't working.<br>
<br>
Get ci and co working without authorization first.<br>
<blockquote cite="midcb98ba7d050325002340ff340c@mail.gmail.com"
 type="cite">
  <pre wrap="">http anymore with
username in my AuthUserFile. I wonder, are there anyway to make apache access 
repositiory with svn previlege?

thank you
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<span color="blue">
<address><small>
<hr height="4" align="left" width="375">Martin J. Stumpf<br>
Division of Medical Imaging Physics, Department of Radiology<br>
Johns Hopkins University School of Medicine<br>
601 North Caroline Street / JHOC 4230<br>
Baltimore, Maryland 21287-0859 USA<br>
Voice: (410) 614-0115 Fax: (410) 614-9979<br>
</small></address>
</span></div>
</body>
</html>

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