unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, 28875@debbugs.gnu.org
Subject: bug#28875: 25.3.50; set-default-file-modes ignores execution bits
Date: Fri, 27 Oct 2017 23:02:28 +0900	[thread overview]
Message-ID: <d977119e-bc1b-8b8f-ccdd-9c4fab7702cc@gmail.com> (raw)
In-Reply-To: <83bmks7l1p.fsf@gnu.org>



On 10/27/2017 10:54 PM, Eli Zaretskii wrote:
>> From: Tino Calancha <tino.calancha@gmail.com>
>> Date: Fri, 20 Oct 2017 18:37:11 +0900
>>
>>> I think you are missing what Andreas points out: that
>>> set-default-file-modes works via 'umask', which can only remove bits
>>> from the default permissions, it cannot add bits.  I'm okay with
>>> describing this in more details, for those might not be aware of how
>>> 'umask' works.  That would be a different text, though, not the one
>>> you suggested.
>> You are right I don't know much about umask.
>> Probably most of the people using set-default-file-modes
> OK, I added some text to the docs to clarify this.

Thank you, it looks more clear to me know.
There is a duplicated word:
+This function works by setting the Emacs's file mode creation mask.
+Each bit that is set in the mask means that the corresponding bit
+in the the permissions of newly created files will be disabled.
        ^^^^





  parent reply	other threads:[~2017-10-27 14:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-17 13:11 bug#28875: 25.3.50; set-default-file-modes ignores execution bits Tino Calancha
2017-10-17 14:03 ` Andreas Schwab
2017-10-17 14:25   ` Tino Calancha
2017-10-20  3:10     ` Tino Calancha
2017-10-20  7:15       ` Eli Zaretskii
     [not found]         ` <ef2bbaf3-7c6b-56a8-32ac-c5366d7431e7@gmail.com>
2017-10-20  8:42           ` Eli Zaretskii
     [not found]             ` <0a5e94fd-6c38-b022-5219-449f5e90c261@gmail.com>
     [not found]               ` <83bmks7l1p.fsf@gnu.org>
2017-10-27 14:02                 ` Tino Calancha [this message]
2017-10-27 17:22                   ` Eli Zaretskii
2018-07-10  6:45                     ` Tino Calancha
2017-10-20  7:53       ` Andreas Schwab

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d977119e-bc1b-8b8f-ccdd-9c4fab7702cc@gmail.com \
    --to=tino.calancha@gmail.com \
    --cc=28875@debbugs.gnu.org \
    --cc=eliz@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).