[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: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2003-09-05 19:12:15 CEST

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. :-)

-Fitz

--
Brian W. Fitzpatrick    <fitz_at_red-bean.com>   http://www.red-bean.com/fitz/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 5 19:13:12 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.