* bug#9988: 23.1; emacs can't write file with original permission
@ 2011-11-08 6:54 Guangliang Yang
2011-11-08 7:49 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Guangliang Yang @ 2011-11-08 6:54 UTC (permalink / raw
To: 9988
$ 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
emacs changed the file's permission
it's sucks
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#9988: 23.1; emacs can't write file with original permission
2011-11-08 6:54 bug#9988: 23.1; emacs can't write file with original permission Guangliang Yang
@ 2011-11-08 7:49 ` Glenn Morris
2011-11-08 7:53 ` Guangliang Yang
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2011-11-08 7:49 UTC (permalink / raw
To: Guangliang Yang; +Cc: 9988
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#9988: 23.1; emacs can't write file with original permission
2011-11-08 7:49 ` Glenn Morris
@ 2011-11-08 7:53 ` Guangliang Yang
0 siblings, 0 replies; 3+ messages in thread
From: Guangliang Yang @ 2011-11-08 7:53 UTC (permalink / raw
To: Glenn Morris; +Cc: 9988
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-08 7:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08 6:54 bug#9988: 23.1; emacs can't write file with original permission Guangliang Yang
2011-11-08 7:49 ` Glenn Morris
2011-11-08 7:53 ` Guangliang Yang
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.