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

Re: change file permissions in a repository

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-12-26 02:11:53 CET

Quoting Vasco Tenner

> is it possible to change file permissions in a repository?
> like chmod, but for files IN a svn repository. So not the repository
> itself, but the files stored into it.

No, not with standard Subversion, which does not store file permissions in the
repository.

An unofficial branch of Subversion exists which implements this functionality.
It's called the owner-group-mode branch and is available here:

http://svn.collab.net/repos/svn/branches/meta-data-versioning/

But I don't know how up-to-date it is or if it still works.

Why do you want to version file permissions? If all you want is to set the
executable bit, then you don't need the above; just set the property
svn:executable to any value on the files that you want to be executable.

If you're doing this because you're using Subversion to back up part of your
filesystem that requires certain permissions on certain files, you may be
better off with another product more suited to that. For example, look into
FSVS which is based on Subversion:

http://fsvs.tigris.org/

-- 
To reply to the mailing list, please use your mailer's Reply To All function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 26 02:12:14 2006

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.