Setting the execute bit in SVN

When committing files to an SVN repository, it happens that I forget to set the proper ‘execute’ permission.

This results in problems when checking out a fresh working copy, as it seems that SVN does not take up a ‘chmod u+x’ on a file as a change when a commit is performed.

This is easily fixed: just do

$ svn propset svn:executable ON somescript

And then commit.

One response to “Setting the execute bit in SVN”