Pycharm changes file permissions on save

已回答

Hi,

When I save a file, pycharm changes the file permissions and add execute permission to the file. How can I prevent this and keep the file's original permissions?

Thanks

Anand

1

Please try disabling the "Use safe write" option under Settings | General.

1

Thanks. That worked for existing files. When I create a new file from pycharm, execute permissions are set. Is there a way to prevent that?

Anand

0

Any updates on this? This is the most annoying thing ever. On every git commit I have to be very careful to not accidentally commit random file mode changes.

0

Any updates on this?

 

Thanks!

0

Hi! Please vote for IDEA-152607, I believe this ticket covers the problem.

0

请先登录再写评论。