Search code examples
linuxsvnsystem-properties

Why does svn:executable work for one script and not the other?


I have a bash script (.sh file) and a Python script (.py) file in the same directory. Both have the svn:executable permission. However when I do an 'svn update', only the Bash script gets executable permission set.

Any ideas why? (If I manually set the permission on the Python script it runs fine.)

DOH! Turns out I had a typo. It had the property 'sv:executable' (missing n). discovered with loentar's propget/propset.


Solution

  • Is command:

    
    svn propget svn:executable script.py
    

    outputs "*" ?

    if not, use this:

    
    svn propset svn:executable '*' script.py