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?
This problem can be fixed by disabling the map_archive
feature of samba.
[global]
map archive = no
This should solve the problem.