From: Ruijie Yu via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: Emacs Orgmode <emacs-orgmode@gnu.org>
Subject: #o544 is user rw?
Date: Thu, 13 Apr 2023 13:05:06 +0800 [thread overview]
Message-ID: <sdv3554xtat.fsf@fw.net.yu> (raw)
I'm looking at this `defcustom', and its docstring looks wrong. It says
that #o544 corresponds to "u=rw,g=r,o=r", but shouldn't it be
"u=rx,g=r,o=r"? Something is wrong, unless there is another definition
of permissions that I'm not aware of.
--8<---------------cut here---------------start------------->8---
(defcustom org-babel-tangle-default-file-mode #o544
"The default mode used for tangled files, as an integer.
The default value 356 correspands to the octal #o544, which is
read-write permissions for the user, read-only for everyone else."
:group 'org-babel-tangle
:package-version '(Org . "9.6")
:type 'integer)
--8<---------------cut here---------------end--------------->8---
This is lisp/ob-tangle.el:161, in recent master.
--
Best,
RY
next reply other threads:[~2023-04-13 5:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-13 5:05 Ruijie Yu via General discussions about Org-mode. [this message]
2023-04-13 5:13 ` #o544 is user rw? Timothy
2023-04-13 11:18 ` Ihor Radchenko
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sdv3554xtat.fsf@fw.net.yu \
--to=emacs-orgmode@gnu.org \
--cc=ruijie@netyu.xyz \
/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/org-mode.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).