You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by wi...@opensource4you.com on 2006/03/19 12:36:21 UTC

svnserve and authorization problems

I've just install subversion 1.3.

I'm trying to let working the svnserve with authorization.
(context is to use subversion to version the /home directories of my
linuxhome server)

How to configure svn to keep privacy of each users ?

I've tried (in conf.authz):
"
[/]
* = 'r'

[/linuxhome/home/mi]
mi = 'rw'
vi = ''
# * =

[/linuxhome/home/wi]
wi = 'rw'
mi = ''
"

The "write" is working fine. Not possibilities to commit modifications on
others home dirs.

BUT

The read is not working.
user "mi" is able to checkout "/linuxhome/home/wi" ?????
and "wi" is able to checkout "/linuxhome/home/mi" ???
Why ???
What's I've missed ?

PS: concerning the first line ('/' as 'r' for everyone), I've saw that's
mandatory.

Thanks.





-- 
William: http://www.opensource4you.com


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

RE: svnserve and authorization problems

Posted by wi...@opensource4you.com.
Thanks Lieven.

The solution to my problem was to use a config like you suggest

AND

to recompile apr with "urandom" and subversion.
(I'm on a gentoo syustem)

Thanks.



Lieven Govaerts wrote:
> William,
>
> drop the '' characters. If you use mi = '', subversion fails to recognize
> this as the 'remove all access rights for this user' syntax, and ignores
> it.
>
> This will work:
> [/]
> * = r
>
> [/linuxhome/home/mi]
> mi = rw
> vi =
> # * =
>
> [/linuxhome/home/wi]
> wi = rw
> mi =
>
> regards,
>
> Lieven.
>
>> -----Original Message-----
>> From: william@opensource4you.com [mailto:william@opensource4you.com]
>> Sent: zondag 19 maart 2006 13:36
>> To: users@subversion.tigris.org
>> Subject: svnserve and authorization problems
>>
>> I've just install subversion 1.3.
>>
>> I'm trying to let working the svnserve with authorization.
>> (context is to use subversion to version the /home
>> directories of my linuxhome server)
>>
>> How to configure svn to keep privacy of each users ?
>>
>> I've tried (in conf.authz):
>> "
>> [/]
>> * = 'r'
>>
>> [/linuxhome/home/mi]
>> mi = 'rw'
>> vi = ''
>> # * =
>>
>> [/linuxhome/home/wi]
>> wi = 'rw'
>> mi = ''
>> "
>>
>> The "write" is working fine. Not possibilities to commit
>> modifications on others home dirs.
>>
>> BUT
>>
>> The read is not working.
>> user "mi" is able to checkout "/linuxhome/home/wi" ?????
>> and "wi" is able to checkout "/linuxhome/home/mi" ???
>> Why ???
>> What's I've missed ?
>>
>> PS: concerning the first line ('/' as 'r' for everyone), I've
>> saw that's mandatory.
>>
>> Thanks.
>>
>>
>>
>>
>>
>> --
>> William: http://www.opensource4you.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


-- 
William: http://www.opensource4you.com


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

RE: svnserve and authorization problems

Posted by Lieven Govaerts <lg...@mobsol.be>.
William, 

drop the '' characters. If you use mi = '', subversion fails to recognize 
this as the 'remove all access rights for this user' syntax, and ignores it.

This will work:
[/]
* = r
 
[/linuxhome/home/mi]
mi = rw
vi = 
# * =

[/linuxhome/home/wi]
wi = rw
mi = 

regards,

Lieven.

> -----Original Message-----
> From: william@opensource4you.com [mailto:william@opensource4you.com] 
> Sent: zondag 19 maart 2006 13:36
> To: users@subversion.tigris.org
> Subject: svnserve and authorization problems
> 
> I've just install subversion 1.3.
> 
> I'm trying to let working the svnserve with authorization.
> (context is to use subversion to version the /home 
> directories of my linuxhome server)
> 
> How to configure svn to keep privacy of each users ?
> 
> I've tried (in conf.authz):
> "
> [/]
> * = 'r'
> 
> [/linuxhome/home/mi]
> mi = 'rw'
> vi = ''
> # * =
> 
> [/linuxhome/home/wi]
> wi = 'rw'
> mi = ''
> "
> 
> The "write" is working fine. Not possibilities to commit 
> modifications on others home dirs.
> 
> BUT
> 
> The read is not working.
> user "mi" is able to checkout "/linuxhome/home/wi" ?????
> and "wi" is able to checkout "/linuxhome/home/mi" ???
> Why ???
> What's I've missed ?
> 
> PS: concerning the first line ('/' as 'r' for everyone), I've 
> saw that's mandatory.
> 
> Thanks.
> 
> 
> 
> 
> 
> --
> William: http://www.opensource4you.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 


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