|
From: | Tino Calancha |
Subject: | bug#28875: 25.3.50; set-default-file-modes ignores execution bits |
Date: | Fri, 27 Oct 2017 23:02:28 +0900 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
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 +0900I 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-modesOK, 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. ^^^^
[Prev in Thread] | Current Thread | [Next in Thread] |