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

Re: Permission flag t set on newly created repositories

From: Henrik Ripa <gieron_at_yahoo.com>
Date: 2004-09-03 09:51:06 CEST

--- Greg Hudson <ghudson@MIT.EDU> wrote:

> On July 26 you wrote to users@subversion.tigris.org:
> > 'svnadmin create' always sets this flag on all directories in a
> > newly created repository. Why is that? I can't think of any reason
> > for doing this.
>
> Sorry this sat for so long without a response. The sticky bit is set
> in new directories due to a bug in the version of APR shipped with
> httpd 2.0.50, which is also the version we ship in 1.0.6 and 1.1.0-rc2
> (I believe). We have a workaround for that APR bug scheduled for
> 1.1.0-rc3.

No problem. When I didn't get a response from the list I traversed the source.
Since I couldn't find anything about it in the source I actually guessed that
it had something to do with APR. Now I know. I now use this script named
svnmkrepos to create new repositories:

#!/bin/sh
svnadmin create --fs-type=fsfs $1
chmod -R o-t $1
chgrp -R svn $1
find $1 -type d | xargs chmod g+s

All Subversion users are in group svn of course.

=====
Henrik Ripa [Gieron] - Lule/Norrbotten/Sweden

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 3 09:51:25 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.