emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#o544 is user rw?


From: Ruijie Yu
Subject: #o544 is user rw?
Date: Thu, 13 Apr 2023 13:05:06 +0800
User-agent: mu4e 1.9.22; emacs 30.0.50

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]