If I edit an executable script, say
foo.sh, then upon saving emacs makes the backup file
foo.sh~. That's all well and good, but if the original file has the executable bit set, then so does the backup. This is a little annoying; is there a way to prevent this?
Or, at the very least, is there a way to save the executables in a different directory than the real one? That way I could put them somewhere not on
$ emacs --version GNU Emacs 25.3.1 [...]