Why pycharm change the permissions of the file when I use "SVN->commit file"

Answered

Hi,

 

I have a shell script file under SVN control. Recently, I changed the permission of this file with 'chmod +x myscript.sh'

 

however, after I VCS->svn->commit , this file's 'x' permission has been reset. 

 

Is this a bug? or there is somewhere I can configure svn 's behavior?

 

Thanks

0
1 comment

It is not PyCharm's fault, but SVN itself has some limitations.

You need to set the svn:executable property on a file for svn to recognize the executable bit. This can be done using Subversion - Set property...

See e.g. https://stackoverflow.com/questions/17846551/svn-how-to-set-the-executable-bit-on-a-file and https://stackoverflow.com/questions/5757293/proper-way-to-add-svnexecutable

0

Please sign in to leave a comment.