[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: Colin Watson <cjwatson_at_flatline.org.uk>
Date: 2003-01-03 21:26:44 CET

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.

Colin Watson                                  [cjwatson@flatline.org.uk]
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:27:28 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.