Changing Permissions in Subversion

June 23, 2005

It took me entirely too long to figure this today. Perhaps Google will pick this up and save someone else the effort.

I had a file in Subversion which should have been executable but wasn’t. I tried changing the file permissions and checking in the file, but Subversion refused to do anything since the file hadn’t changed. I poked around with Google but didn’t find anything helpful.

Finally the nice folks over in #svn on irc.freenode.net told me the command is svn propset svn:executable "*" filename. Sister commands include propdel and proplist.


Tags:
  • programming

Comments

Thank you so very much! I was just searching for how to do this (as I had a whole bunch of files that somehow got the svn:executable property set on them), and this did the trick. It even chmod’ed the files back to 644 for me.

Thanks!

posted on December 10, 2007 by Dave

Many thanks, this post saved me some time.

Cheers z0mbix

posted on December 21, 2009 by z0mbix

Thanks a lot. I found your post on my fourth try, just before going to SVN reference… (saved time).

posted on January 2, 2010 by Antonio

Thanks! Especially the “*” was not clear for me from the help.

posted on July 8, 2010 by Arjan

Thanks for the useful post, still relevant over 5 years later. #3 Google result for: svn change permissions

posted on July 9, 2010 by Josh

This was very helpful, and better than a lot of information out there.

posted on August 3, 2010 by Brian O'Meara

Yep, thanks Mark!

posted on August 12, 2010 by christine


gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.