39

How do I set the executable bit on a file in an svn repository?

I've tried:

chmod +x sync.py
svn commit sync.py -m "Make sync.py executable"

But the change was not propagated.

How do I set the executable bit in the svn repository?

messivanio
  • 2,263
  • 18
  • 24
Adam Matan
  • 128,757
  • 147
  • 397
  • 562

1 Answers1

90

svn uses propset to change file attributes:

svn propset svn:executable ON sync.py
Adam Matan
  • 128,757
  • 147
  • 397
  • 562