How to stop Sublime Text 2 from removing the "Read & Execute" flag upon save

Viewed 2699

Using Sublime Text 2, I sometimes have to edit shell files that are executed by bash in a cron. However, when I save these files, the execute flag is being removed from the file, causing the cron to fail when trying to execute the file. I have to chmod the file every time I change it. Previously, using Ultra-Edit, I never had this issue.

Has anyone else dealt with this issue who can recommend a fix or solution?

2 Answers
Related