[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How much libsvn_repos wrap around the libsvn_fs

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-01-03 21:47:57 CET

Colin Watson wrote:

>On Fri, Jan 03, 2003 at 08:37:55PM +0100, Branko ??ibej wrote:
>
>
>>Seth W. Klein wrote:
>>
>>
>>>Branko ????ibej <brane@xbc.nu> wrote:
>>>
>>>
>>>>Just a note here -- any ACL system we implement within Subversion will
>>>>have to be inherent to libsvn_fs in any case, so that all RA methods can
>>>>use it. Sure, it'll be more or less advisory for ra_local.
>>>>
>>>>
>>>Does this remain true even if the svn binary is suid svn and the
>>>repository is writeable only by that user?
>>>
>>>
>>Of course. If you do that, getuid() will always return "svn", and how
>>else will you authenticate a local user?
>>
>>
>
>No, getuid() will return the calling user's uid. geteuid() will return
>the uid of the svn user.
>

Hey, that's right. Well, I suppose having a setuid client would work on
Unix, then.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 3 21:50:42 2003

This is an archived mail posted to the Subversion Dev mailing list.