all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error with org-persist
@ 2024-03-20 14:41 Al Oomens
  2024-03-20 16:09 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Al Oomens @ 2024-03-20 14:41 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Greetings, I have never posted to this list before. I searched the email archive, and didn't see anything related. I have been using Emacs and org-more for several years and recently started getting this error when I first open a .org file:

'Missing write access rights to org-persist-directory: "c:/Users/aloom/My Drive/home/.emacs.d/org-persist/"'.

I am using emacs v29.2 on Windows 11. Org-mode is 9.6.21

This started happening fairly recently, perhaps when I upgraded Emacs? Also note, that I have my $HOME in a Goggle Drive synced folder. Perhaps that has something to do with this? Or perhaps the space in the PATH to my HOME directory? Although, as I stated, I did not have this error until fairly recently.

Let me know if you need any further information.
Thanks!

[-- Attachment #2: Type: text/html, Size: 2317 bytes --]

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

* Re: Error with org-persist
  2024-03-20 14:41 Error with org-persist Al Oomens
@ 2024-03-20 16:09 ` Ihor Radchenko
       [not found]   ` <MW4PR19MB68888349D4B82D35C6798845C4332@MW4PR19MB6888.namprd19.prod.outlook.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2024-03-20 16:09 UTC (permalink / raw)
  To: Al Oomens; +Cc: emacs-orgmode@gnu.org

Al Oomens <aloomens@outlook.com> writes:

> Greetings, I have never posted to this list before.

Welcome!

> ... recently started getting this
> error when I first open a .org file:
>
> 'Missing write access rights to org-persist-directory: "c:/Users/aloom/My Drive/home/.emacs.d/org-persist/"'.
>
> I am using emacs v29.2 on Windows 11. Org-mode is 9.6.21
>
> This started happening fairly recently, perhaps when I upgraded Emacs? Also note, that I have my $HOME in a Goggle Drive synced folder. Perhaps that has something to do with this? Or perhaps the space in the PATH to my HOME directory? Although, as I stated, I did not have this error until fairly recently.

The message you are seeing is displayed when Emacs has no write access
to your .emacs.d.
Check your FS write access settings along the path you see in the
message.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: Error with org-persist
       [not found]       ` <MW4PR19MB688866883DA2CD508EE28369C4332@MW4PR19MB6888.namprd19.prod.outlook.com>
@ 2024-03-20 20:07         ` Ihor Radchenko
  2024-03-20 20:15           ` Al Oomens
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2024-03-20 20:07 UTC (permalink / raw)
  To: Al Oomens; +Cc: emacs-orgmode

[ Adding Org mailing list back to CC. Please use "Reply All" to keep the
  conversation public ]

Al Oomens <aloomens@outlook.com> writes:

> OK, very strange.
> .emacs.d/org-persist/ does not exist. It should be automatically created, correct?

Yup.

> Evaluating (file-writable-p "c:/Users/aloom/My Drive/home/.emacs.d/") returns "nil".
> However, I was able to visit a new file and save it to that directory:
> ...

What about (file-writable-p "c:/Users/aloom/My Drive/home/.emacs.d/org-persist") ?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: Error with org-persist
  2024-03-20 20:07         ` Ihor Radchenko
@ 2024-03-20 20:15           ` Al Oomens
  2024-03-21  9:15             ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Al Oomens @ 2024-03-20 20:15 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]

(file-writable-p "c:/Users/aloom/My Drive/home/.emacs.d/org-persist") - returns "t"
________________________________
From: Ihor Radchenko <yantar92@posteo.net>
Sent: Wednesday, March 20, 2024 3:07 PM
To: Al Oomens <aloomens@outlook.com>
Cc: emacs-orgmode@gnu.org <emacs-orgmode@gnu.org>
Subject: Re: Error with org-persist

[ Adding Org mailing list back to CC. Please use "Reply All" to keep the
  conversation public ]

Al Oomens <aloomens@outlook.com> writes:

> OK, very strange.
> .emacs.d/org-persist/ does not exist. It should be automatically created, correct?

Yup.

> Evaluating (file-writable-p "c:/Users/aloom/My Drive/home/.emacs.d/") returns "nil".
> However, I was able to visit a new file and save it to that directory:
> ...

What about (file-writable-p "c:/Users/aloom/My Drive/home/.emacs.d/org-persist") ?

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

[-- Attachment #2: Type: text/html, Size: 2457 bytes --]

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

* Re: Error with org-persist
  2024-03-20 20:15           ` Al Oomens
@ 2024-03-21  9:15             ` Ihor Radchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2024-03-21  9:15 UTC (permalink / raw)
  To: Al Oomens; +Cc: emacs-orgmode@gnu.org

Al Oomens <aloomens@outlook.com> writes:

> (file-writable-p "c:/Users/aloom/My Drive/home/.emacs.d/org-persist") - returns "t"
> ...
>> Evaluating (file-writable-p "c:/Users/aloom/My Drive/home/.emacs.d/") returns "nil".

The problem is that you do not seem to have write access to create files
in "c:/Users/aloom/My Drive/home".

This is a bug in Org mode that it checks for write access there (we
check one parent directory too much).
I fixed the check on the bugfix branch.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ad0282533
The fix will be available in the next Org bugfix release (likely tomorrow).

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

end of thread, other threads:[~2024-03-21  9:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20 14:41 Error with org-persist Al Oomens
2024-03-20 16:09 ` Ihor Radchenko
     [not found]   ` <MW4PR19MB68888349D4B82D35C6798845C4332@MW4PR19MB6888.namprd19.prod.outlook.com>
     [not found]     ` <878r2c7lrp.fsf@localhost>
     [not found]       ` <MW4PR19MB688866883DA2CD508EE28369C4332@MW4PR19MB6888.namprd19.prod.outlook.com>
2024-03-20 20:07         ` Ihor Radchenko
2024-03-20 20:15           ` Al Oomens
2024-03-21  9:15             ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.