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

Re: permissions wrapper and svn+ssh?

From: Marius Gedminas <mgedmin_at_b4net.lt>
Date: 2005-01-26 23:13:15 CET

On Wed, Jan 26, 2005 at 10:39:10AM -0500, David Coppit wrote:
> In the subversion book it's recommended that you use a wrapper to make
> sure that permissions are not hosed by a user with a restrictive umask:
>
> http://svnbook.red-bean.com/en/1.0/ch06s05.html
>
> My sysadmins don't want to diverge from the default installation, so I
> plan to create this wrapper as /home/coppit/bin/svn in my own account,
> and
> tell the developers to add /home/coppit/bin to their PATH before
> /usr/bin.(They trust me not to put a nefarious ls in there. :)
>
> My question is this: Do I need to worry about permissions with svn+ssh
> access? If so, is there a fix like the above that doesn't require
> diverging from the default installation?

You can ask all users to put 'umask 002' into their .bashrc files (or,
if the users do not have full shell accounts, ask the admins to set the
umasks for those users to 002).

It works for me: http://mg.pov.lt/blog/setting-umask-for-subversion.html

Marius Gedminas

-- 
Computers are not intelligent.  They only think they are.

Received on Wed Jan 26 23:16:26 2005

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.