Questions tagged [permissions]

24 questions
10
votes
4 answers

Change permission of file

I use GNU Emacs 24.3.1 and want to create a new buffer and execute that directly without using terminal and chmod. Is there a way to change the permission of a saved buffer (file) directly from emacs?
hasanghaforian
  • 215
  • 4
  • 11
2
votes
1 answer

Saving file resets executable bit

I have a file setup.py created with Emacs and I set 744 permissions to it: $ ls -la total 8 drwxr-xr-x 3 user staff 96 10 Dec 20:49 . drwxr-xr-x 6 user staff 192 10 Dec 20:47 .. -rwxr--r-- 1 user staff 39 10 Dec 20:49 setup.py When I…
miguelmorin
  • 1,907
  • 12
  • 33