You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Cory Wright <cw...@standblue.net> on 2005/01/04 21:42:53 UTC

retaining directory permissions in repository

Hi,

I've searched the FAQ and mailing lists but I have not found a way to
store directory permissions within the repository.  

I have a directory that needs to have 0775 permissions, but Subversion
continues to use the default 0755.  I've imported a directory that had
the correct permissions, but when I checked out a clean copy it was back
to 0755.

The reason for this is that I need a directory to be group writeable
when the code is exported.  I currently have scripts to changes the
permission after the code is exported, but if there is a way to do this
natively within Subversion, I would rather use it's method.

Thanks in advance,

Cory Wright


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

Re: retaining directory permissions in repository

Posted by kf...@collab.net.
Cory Wright <cw...@standblue.net> writes:
> I've searched the FAQ and mailing lists but I have not found a way to
> store directory permissions within the repository.  
> 
> I have a directory that needs to have 0775 permissions, but Subversion
> continues to use the default 0755.  I've imported a directory that had
> the correct permissions, but when I checked out a clean copy it was back
> to 0755.
> 
> The reason for this is that I need a directory to be group writeable
> when the code is exported.  I currently have scripts to changes the
> permission after the code is exported, but if there is a way to do this
> natively within Subversion, I would rather use it's method.
> 
> Thanks in advance,

Subversion does't support this natively, sorry.

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

Re: retaining directory permissions in repository

Posted by Peter Valdemar Mørch <sw...@sneakemail.com>.
Cory Wright cwright-lists-at-standblue.net |Lists| wrote:
> I've searched the FAQ and mailing lists but I have not found a way to
> store directory permissions within the repository.  

In the thread "Re: Storing /etc in a repository", this contribution got 
mentioned:
http://svn.collab.net/repos/svn/trunk/contrib/client-side/asvn

 From its comments:

#    Description:
#    Archive SVN (asvn) will allow the recording of file types not
#    normally handled by svn. Currently this includes devices,
#    symlinks and file ownership/permissions.
#
#    Every file and directory has a 'file:permissions' property set and
#    every directory has a 'dir:devices' and 'dir:symlinks' for
#    recording the extra information.
#	
#    Run this script instead of svn with the normal svn arguments.

You may want to try that out. I haven't tried it myself...

Peter

-- 
Peter Valdemar Mørch
http://www.morch.com

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