<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Read-Only and Read-Write SVN Repositories</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matteo</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-521883</link>
		<dc:creator>Matteo</dc:creator>
		<pubDate>Thu, 22 May 2014 08:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-521883</guid>
		<description>The problem is that if I do a chekcout of the anonymous-enabled subpath &quot;public&quot;as follows:
svn co https://repo_url/public
Apache always ask for a username and password</description>
		<content:encoded><![CDATA[<p>The problem is that if I do a chekcout of the anonymous-enabled subpath "public"as follows:<br />
svn co <a href="https://repo_url/public" rel="nofollow">https://repo_url/public</a><br />
Apache always ask for a username and password</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-521882</link>
		<dc:creator>Matteo</dc:creator>
		<pubDate>Thu, 22 May 2014 08:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-521882</guid>
		<description>Hi Barney,
I need exaclty what you explained in this post: a repo with RW acces to authenticated users, but with a subpath with anonymous readonly access. So i configured apache as you suggested:

  
   ...
   # Authorization
    AuthzSVNAccessFile my_auth_file
    Satisfy any
    Require valid-user
  

And the authz file is as follows
  [repo:/]
  matteo = rw
  [repo:/public]
  * = r
  mbrunettini = rw

But it does not work on subversion 1.6.17
Where Am I wrong?
Thanks for you help.
Matteo</description>
		<content:encoded><![CDATA[<p>Hi Barney,<br />
I need exaclty what you explained in this post: a repo with RW acces to authenticated users, but with a subpath with anonymous readonly access. So i configured apache as you suggested:</p>
<p>   &#8230;<br />
   # Authorization<br />
    AuthzSVNAccessFile my_auth_file<br />
    Satisfy any<br />
    Require valid-user</p>
<p>And the authz file is as follows<br />
  [repo:/]<br />
  matteo = rw<br />
  [repo:/public]<br />
  * = r<br />
  mbrunettini = rw</p>
<p>But it does not work on subversion 1.6.17<br />
Where Am I wrong?<br />
Thanks for you help.<br />
Matteo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-453599</link>
		<dc:creator>Karthik</dc:creator>
		<pubDate>Thu, 09 Jan 2014 23:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-453599</guid>
		<description>Barney - Thanks for your reply. I have got it working now. Yes, my repo name is all in caps (SVNCOPY) but the actual issue was that I didn&#039;t have to specify the repo name at all. Since I declared realm name as SYNCOPY, I guess it only needed to know the parent folder names at the root level. When I corrected, it started working as expected. 

Cheers,
Karthik Durairajan</description>
		<content:encoded><![CDATA[<p>Barney &#8211; Thanks for your reply. I have got it working now. Yes, my repo name is all in caps (SVNCOPY) but the actual issue was that I didn't have to specify the repo name at all. Since I declared realm name as SYNCOPY, I guess it only needed to know the parent folder names at the root level. When I corrected, it started working as expected. </p>
<p>Cheers,<br />
Karthik Durairajan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-453593</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 09 Jan 2014 22:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-453593</guid>
		<description>Karthik,

I&#039;ve never done path-based auth with multiple repositories (i.e., using SVNParentPath), but that seems like it should do what you want.  Note that I think you have to repository-qualify all your paths (so the first section won&#039;t do anything).  Also, I&#039;m pretty sure the repo names are case sensitive; is your path really in all caps on the filesystem?</description>
		<content:encoded><![CDATA[<p>Karthik,</p>
<p>I've never done path-based auth with multiple repositories (i.e., using SVNParentPath), but that seems like it should do what you want.  Note that I think you have to repository-qualify all your paths (so the first section won't do anything).  Also, I'm pretty sure the repo names are case sensitive; is your path really in all caps on the filesystem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karthik</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-452683</link>
		<dc:creator>Karthik</dc:creator>
		<pubDate>Wed, 08 Jan 2014 06:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-452683</guid>
		<description>Hi Barney

Iâ€™ve got both authentication and authorization working as they should be in my setup. However, path based restrictions donâ€™t seem to work for sub folders. Please see Authz snippet below:

&lt;pre&gt;[groups]
ctrlMusers = user1, user2, user3

[/]@ctrlM = r

[SVNCOPY:/ControlM]
@ctrlM = rw
@developers = r
* =
&lt;/pre&gt;

From the above, Iâ€™m restricting write access only to ctrlMusers. But sadly, ControlM folder has too many sub directories (SVNCOPY/ControlM/trunk/AciCore/build/release1)

user3 is not able to commit a file under SVNCOPY/ControlM/trunk/AciCore/build/release1 even though he has RW access at the parent folder level (ControlM). How do I go about resolving this issue? Thanks.
Karthik</description>
		<content:encoded><![CDATA[<p>Hi Barney</p>
<p>Iâ€™ve got both authentication and authorization working as they should be in my setup. However, path based restrictions donâ€™t seem to work for sub folders. Please see Authz snippet below:</p>
<pre>[groups]
ctrlMusers = user1, user2, user3

[/]@ctrlM = r

[SVNCOPY:/ControlM]
@ctrlM = rw
@developers = r
* =
</pre>
<p>From the above, Iâ€™m restricting write access only to ctrlMusers. But sadly, ControlM folder has too many sub directories (SVNCOPY/ControlM/trunk/AciCore/build/release1)</p>
<p>user3 is not able to commit a file under SVNCOPY/ControlM/trunk/AciCore/build/release1 even though he has RW access at the parent folder level (ControlM). How do I go about resolving this issue? Thanks.<br />
Karthik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-337370</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 19 Dec 2012 17:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-337370</guid>
		<description>sanjog, if you don&#039;t give read access to &quot;&lt;code&gt;*&lt;/code&gt;&quot;, then the folder won&#039;t be visible.  I don&#039;t know what your setup is, but if you have a the root set to allow anonymous read, you need only define a section for the folder you want to restrict and not give read access to it.  Basically the reverse of the first example:

&lt;pre&gt;[/]
* = r
barneyb = rw

[/bicycle_dashboard]
barneyb = rw
&lt;/pre&gt;

Now the repository will be readable, except for the &#039;&lt;code&gt;bicycle_dashboard&lt;/code&gt;&#039; folder which is only accessible to &#039;&lt;code&gt;barneyb&lt;/code&gt;&#039;.</description>
		<content:encoded><![CDATA[<p>sanjog, if you don't give read access to "<code>*</code>", then the folder won't be visible.  I don't know what your setup is, but if you have a the root set to allow anonymous read, you need only define a section for the folder you want to restrict and not give read access to it.  Basically the reverse of the first example:</p>
<pre>[/]
* = r
barneyb = rw

[/bicycle_dashboard]
barneyb = rw
</pre>
<p>Now the repository will be readable, except for the '<code>bicycle_dashboard</code>' folder which is only accessible to '<code>barneyb</code>'.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanjog</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-337342</link>
		<dc:creator>sanjog</dc:creator>
		<pubDate>Wed, 19 Dec 2012 12:48:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-337342</guid>
		<description>Hello barneyb,

I am very new to svn.
I just have setup the server and client.
I have created some repositories.
My question is --&gt;

How do i restrict the access to some folder in a repository ? (That is, those folder should not even be visible to the user).

Kindly suggest with the code.</description>
		<content:encoded><![CDATA[<p>Hello barneyb,</p>
<p>I am very new to svn.<br />
I just have setup the server and client.<br />
I have created some repositories.<br />
My question is &#8211;&gt;</p>
<p>How do i restrict the access to some folder in a repository ? (That is, those folder should not even be visible to the user).</p>
<p>Kindly suggest with the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: satheesh</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-317766</link>
		<dc:creator>satheesh</dc:creator>
		<pubDate>Thu, 26 Jul 2012 06:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-317766</guid>
		<description>Am using svnserve 1.4 in windows 7. i want to set permission in authz file. 
i want to give the rw permission to the subfolder if root folder is read protected . why bcoz in my repository i have lot of files &amp; folder. so want to give rw permission for some of files &amp; sub folders only . other folders are invisible to the user.... means.... I want to give the rw permissions to the some of the sub folders only not the entire directory..... &amp; sub directory
&lt;pre&gt;
    [/root]
    group1 =
    [/root/A/new/Data]
    group1 = rw
    [/root/C/Ex/Files]
    group1 = rw
&lt;/pre&gt;
If i give above code. Nothing is displayed.... Bcoz
&lt;pre&gt;
    [/root]
    group1 =
&lt;/pre&gt;

If i give 
&lt;pre&gt;
    [/]
    group1 = rw
&lt;/pre&gt;

All folders are visible to the &quot;group1&quot;. I dont want like this...

other option is
&lt;pre&gt;
    [root/B]
    group1 = 
    [root/c]
    group1 = 
&lt;/pre&gt;
 .... 
like all sub folder that are not needed for group1. i dont want do like this....

pls anyone help me..............</description>
		<content:encoded><![CDATA[<p>Am using svnserve 1.4 in windows 7. i want to set permission in authz file.<br />
i want to give the rw permission to the subfolder if root folder is read protected . why bcoz in my repository i have lot of files &amp; folder. so want to give rw permission for some of files &amp; sub folders only . other folders are invisible to the user&#8230;. means&#8230;. I want to give the rw permissions to the some of the sub folders only not the entire directory&#8230;.. &amp; sub directory</p>
<pre>
    [/root]
    group1 =
    [/root/A/new/Data]
    group1 = rw
    [/root/C/Ex/Files]
    group1 = rw
</pre>
<p>If i give above code. Nothing is displayed&#8230;. Bcoz</p>
<pre>
    [/root]
    group1 =
</pre>
<p>If i give </p>
<pre>
    [/]
    group1 = rw
</pre>
<p>All folders are visible to the "group1&#8243;. I dont want like this&#8230;</p>
<p>other option is</p>
<pre>
    [root/B]
    group1 =
    [root/c]
    group1 =
</pre>
<p> &#8230;.<br />
like all sub folder that are not needed for group1. i dont want do like this&#8230;.</p>
<p>pls anyone help me&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalpesh Soni</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-307522</link>
		<dc:creator>Kalpesh Soni</dc:creator>
		<pubDate>Fri, 04 May 2012 17:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-307522</guid>
		<description>I have a reverse problem

I wanted every one with valid user id having write access

and a guest account with blank password having readonly access

[groups]
readonly=guest

[/]
@readonly=r
*=rw

this does not work

apache matched guest account with second line (as it is also part of *)

and hence guest gets read write access!

what do i do now?</description>
		<content:encoded><![CDATA[<p>I have a reverse problem</p>
<p>I wanted every one with valid user id having write access</p>
<p>and a guest account with blank password having readonly access</p>
<p>[groups]<br />
readonly=guest</p>
<p>[/]<br />
@readonly=r<br />
*=rw</p>
<p>this does not work</p>
<p>apache matched guest account with second line (as it is also part of *)</p>
<p>and hence guest gets read write access!</p>
<p>what do i do now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishal</title>
		<link>https://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/comment-page-1/#comment-288690</link>
		<dc:creator>vishal</dc:creator>
		<pubDate>Wed, 21 Dec 2011 05:31:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/02/28/read-only-and-read-write-svn-repositories/#comment-288690</guid>
		<description>Santhosh, you  can use system passwd file to authenticate the SVN on SVN server, so if user want to change their password they can login to the server and change their system password which will be used by SVN authentication .

I think above solves your  problem.</description>
		<content:encoded><![CDATA[<p>Santhosh, you  can use system passwd file to authenticate the SVN on SVN server, so if user want to change their password they can login to the server and change their system password which will be used by SVN authentication .</p>
<p>I think above solves your  problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
