emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist


From: Max Nikulin
Subject: Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist
Date: Mon, 1 Nov 2021 22:44:14 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

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 via email to

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