bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9988: 23.1; emacs can't write file with original permission


From: Glenn Morris
Subject: bug#9988: 23.1; emacs can't write file with original permission
Date: Tue, 08 Nov 2011 02:49:41 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Guangliang Yang wrote:

> $ ls -l
> total 4
> -rw------- 1 gxa4g7 gxa4g7 179 2011-11-08 14:50 a.py
> $ emacs a.py
> $ ls -l
> total 4
> -rw-r--r-- 1 gxa4g7 gxa4g7 179 2011-11-08 14:50 a.py

I cannot reproduce this. I tried:

bash> umask
0022
bash> touch a.py; chmod 600 a.py; ls -l a.py
-rw------- 1 gm gm 0 Nov  7 23:47 a.py
bash> emacs-23.1 -Q a.py &

Then in Emacs, type some text in a.py and save it with C-x C-s.
The file's permissions are unchanged.

Please give a complete recipe starting from `emacs -Q', and include the
details from M-x report-emacs-bug about your system and Emacs.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]