emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist
Date: Mon, 1 Nov 2021 22:44:14 +0700	[thread overview]
Message-ID: <slp20m$30j$1@ciao.gmane.io> (raw)
In-Reply-To: <877ddsazc9.fsf@localhost>

On 01/11/2021 18:29, Ihor Radchenko wrote:
> Scott Otterson writes:
> 
>> Apparently, org version 9.5 expects the directory "~/.cache" to exist, and
>> if it doesn't, it terminates with an error.  I'd suggest that org mode
>> makes this directory if it needs it.
> 
> Thanks for reporting! Fixed in 6621ee32e.

Ihor, your fix affects linux as well. .cache directory may be missed in 
fresh accounts. E.g. I just have created a new test container (my old 
one has emacs-25):

emacs --batch -L org-mode/lisp/ -l org-persist  --eval '(message 
"%s\n%s" org-persist-directory (org-version nil t))'

Loading /etc/emacs/site-start.d/00debian.el (source)...
/home/ubuntu/.emacs.d/org-persist/
Org mode version 9.5 (release_9.5-194-g7a6f48 @ /home/ubuntu/org-mode/lisp/)

P.S. ~/.cache directory should not be world-readable, so likely it is 
required to change umask or to explicitly specify permissions while 
creating it.



  reply	other threads:[~2021-11-01 15:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-31 19:18 [BUG] Org V 9.5 error when ~/.cache doesn't exist [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)] Scott Otterson
2021-11-01 11:29 ` Ihor Radchenko
2021-11-01 15:44   ` Max Nikulin [this message]
2021-11-01 16:30     ` [BUG] Org V 9.5 error when ~/.cache doesn't exist Ihor Radchenko
2021-11-01 16:31       ` Ihor Radchenko
2021-11-02 10:55     ` Ihor Radchenko
2021-11-02 19:46       ` Tim Cross
2021-11-03 16:07       ` Max Nikulin
2021-11-05 13:27         ` Kaushal Modi
2021-11-05 13:29           ` Kaushal Modi
2021-11-05 13:32           ` Kaushal Modi
2021-11-05 13:50             ` Ihor Radchenko
2021-11-05 22:08               ` Kaushal Modi
2021-11-05 22:13               ` Tim Cross
2021-11-10  2:23       ` 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='slp20m$30j$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@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/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).