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: Guangliang Yang
Subject: bug#9988: 23.1; emacs can't write file with original permission
Date: Tue, 08 Nov 2011 15:53:55 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15

On 11/08/2011 03:49 PM, Glenn Morris wrote:
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.
sorry, it's my fault
i have fixed the reason. sorry to disturb you





reply via email to

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