[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: Tobias Ringström <tobias_at_ringstrom.mine.nu>
Date: 2003-09-06 12:25:44 CEST

Greg Hudson wrote:
> On Fri, 2003-09-05 at 17:42, Tobias Ringström wrote:
>
>>The holy grail would of course be to prevent a user with a bad umask
>>(for example) to wedge the repos for all the other users. Doing so would
>>definately involve messing with permissions, and it would be hard to get
>>it right, IMHO.
>
>>From BDB's point of view, it's not very hard: when a new log file is
> created, chmod() it to match the mode of the database it belongs to.
> There's never any good reason for a log file to have a different mode
> than the database itself. Keith Bostic has agreed to look into making
> this hapen in a future version of BDB, though it's not clear whether
> that will be 4.2.x (due out later this year) or some indefinite future
> version.

Nice. The BDB layer feels like the right place to fix this.

I wonder if it will work with systems using ACLs though (e.g. Windows),
but maybe those systems do not have a problem as it is. Even if it only
improves systems with the (limited) traditional UNIX filesystem security
(uid,gid,umask), it would most likely be worth the effort.

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 6 12:26:33 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.