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

Re: svn 1.0.4 svn+ssh:// permissions error on gentoo -- yes, even after svnbook ch06s05

From: Klaus Rennecke <klaus_at_rennecke.de>
Date: 2004-06-17 18:41:28 CEST

Ulrich Eckhardt wrote:

> paul. wrote:
> [...]
>> I'm still getting db files created with permissions 755 (ie, umask
>> 022). This would seem to contradict the fundamental operations of a
>> unix permissions system.
> Hmmm, maybe it's just a PATH issue? If /usr/bin comes before /bin,
> some other
> user might find the original executable instead of your wrapper.

Exactly. I personally use this generic wrapper for all svn commands:

/usr/local/bin/svn contains:

> #! /bin/sh
> umask 002
> exec "$0.bin" "$@"

after renaming the command to command.bin

By the way, any developer read man umask(2) yet? There is no need to
leave this niusance to script-wrappers I believe. Make it a compile-time
option to stay compatible if you like.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 17 19:01:04 2004

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

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