You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Greg Hudson <gh...@MIT.EDU> on 2004/09/02 21:17:54 UTC

Re: Permission flag t set on newly created repositories

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Permission flag t set on newly created repositories

Posted by Henrik Ripa <gi...@yahoo.com>.
--- Greg Hudson <gh...@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