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

Re: Problems with file owner & permissions

From: Volker Poplawski <volker.poplawski_at_atrics.de>
Date: 2004-11-25 17:39:36 CET

The wrapper-script is a good idea :-)
I don't want the users to have them change their umasks to group write.

Thanks a lot
....Volker

Am Donnerstag, 25. November 2004 17:13 schrieb ark-d@betasystems.com:
> Volker,
>
> perhaps you don't enforce the correct umask for all users:
> are you using svnwrap script?
>
> less /usr/local/bin/svnwrap
>
> # Generic wrapper for svn commands to enforce correct umask
>
> #!/bin/sh
>
> umask 002
> cmdname=`basename $0`
> exec /usr/bin/$cmdname "$@"
>
> Put that in /usr/local/bin/svnwrap, make it excutable, and create links
> for each command to the commands which must be wrapped:
>
> cd /usr/local/sbin
> ln -s /usr/local/bin/svnwrap svn
> ln -s /usr/local/bin/svnwrap svnlook
> ln -s /usr/local/bin/svnwrap svnadmin
> ln -s /usr/local/bin/svnwrap svnserve
>
>
> By the way: fsfs Filesystem is better than bdb (that's at least my
> opinion), and keeps you safe from headaches :-)
>
>
> Best regards
> Arash
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 25 17:41:59 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.