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

Re: Could svn_backend check permissions?

From: Marc Singer <elf_at_buici.com>
Date: 2003-09-05 20:29:49 CEST

On Fri, Sep 05, 2003 at 12:12:15PM -0500, B. W. Fitzpatrick wrote:
> Marc Singer <elf@buici.com> writes:
> > On Thu, Sep 04, 2003 at 09:57:03PM -0500, B. W. Fitzpatrick wrote:
> > > Actually, I believe that it has, and it was rejected because there is no
> > > logical mapping between UNIX fs permissions and Windows fs ACLs. I
> > > recall the consensus being that it wasn't worth it to stuff in a whole
> > > bunch of platform specific hoo-ha to accomodate this buglet.
> >
> > That isn't the kind of permissions check I'm talking about.
> >
> > The BDB backend is a process running within the context of a user, no
> > what operating system this happens to execute on. If the privilege of
> > that user is insufficient to write to the database, any operations on
> > the repository will fail. We can check for this kind of failure.
> > Moreover, we can check for a privilege failure where the user can
> > access some files/directories but not all of them. Should the user be
> > running on Windows and this check is difficult to make, then oh well,
> > we don't do it. In this case, there no priviledge 'mapping' to be
> > done.
>
> Aha. Well, that sounds OK to me. Consider this a +.5, and a +1 if you
> want to write the patch. :-)

What's that? +1 what?

I'll look at writing a patch.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 5 20:30:41 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.