Changing Permissions in Subversion
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.
December 10th, 2007 at 4:01 pm
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!
December 21st, 2009 at 2:01 pm
Many thanks, this post saved me some time.
Cheers z0mbix
January 1st, 2010 at 9:25 pm
Thanks a lot. I found your post on my fourth try, just before going to SVN reference… (saved time).
July 8th, 2010 at 4:18 am
Thanks! Especially the “*” was not clear for me from the help.
July 9th, 2010 at 9:24 am
Thanks for the useful post, still relevant over 5 years later. #3 Google result for: svn change permissions