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.

One Response to “Changing Permissions in Subversion”

  1. Dave Says:

    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!

Leave a Reply

Comment moderation is on, so you won't see your comment right away.