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

Re: How do I change file permissions?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-10-08 15:49:12 CEST

On 10/8/07, brian@enchanter.net <brian@enchanter.net> wrote:
> How do I change the permissions on files that I've checked into my
> repository, so that they'll come back with the new permissions when
> other people do an 'update' or when I do a 'revert'?
>
> I have a few files in my local svn checkout that have the wrong
> permissions. I can chmod them to fix the permissions, but svn doesn't
> notice the files are changed, so it won't check them in. If I change
> the files by hand and check them in, then they still come back with
> the old (wrong) permissions when I revert them from the repository.
>
> I've tried doing a "svn propset mode 660 ..." on them, but that
> doesn't seem to have any effect.

That's because svn doesn't version your access rights other than the
executable bit (on platforms where there is such a concept...)

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 8 15:53:49 2007

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.