简体   繁体   中英

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.

are you sure it's set? I ran a quick test in my svn sandbox and python scripts work just fine.

user@host sandbox> svn proplist script.py
Properties on 'script.py':
  svn:executable
user@host sandbox> ll script.py
-rwxr-x---  user user apiWriter.py
user@host sandbox>

Is command:


svn propget svn:executable script.py

outputs "*" ?

if not, use this:


svn propset svn:executable '*' script.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM