From: Guangliang Yang <guangliang.y@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 9988@debbugs.gnu.org
Subject: bug#9988: 23.1; emacs can't write file with original permission
Date: Tue, 08 Nov 2011 15:53:55 +0800 [thread overview]
Message-ID: <4EB8E013.6050405@gmail.com> (raw)
In-Reply-To: <7dr51jf3ze.fsf@fencepost.gnu.org>
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
prev parent reply other threads:[~2011-11-08 7:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB8E013.6050405@gmail.com \
--to=guangliang.y@gmail.com \
--cc=9988@debbugs.gnu.org \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.