Executable Files in SVN

Another thing that shouldn’t have taken me so long to find out about… set executable permissions on a file under subversion (SVN):

svn propset svn:executable ON filename

As this page states:

When you want to make a versioned file executable, do not run ”chmod +x file”; instead run “svn propset svn:executable ‘*’ file”. When you want to remove the executable bit from a versioned file, do not run “chmod -x file”; instead run “svn propdel svn:executable file”.

Comments

comments

This entry was posted in Linux and tagged , , . Bookmark the permalink.

One Response to Executable Files in SVN

  1. Haha! Thank you! Just started to add some infra scripts to our product, but they always forgot that they are +x ;)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>