emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #o544 is user rw?
@ 2023-04-13  5:05 Ruijie Yu via General discussions about Org-mode.
  2023-04-13  5:13 ` Timothy
  0 siblings, 1 reply; 3+ messages in thread
From: Ruijie Yu via General discussions about Org-mode. @ 2023-04-13  5:05 UTC (permalink / raw)
  To: Emacs Orgmode

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-13 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-13  5:05 #o544 is user rw? Ruijie Yu via General discussions about Org-mode.
2023-04-13  5:13 ` Timothy
2023-04-13 11:18   ` Ihor Radchenko

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).