emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug: ODT exporter permission issue on functional distros (eg, Guix)


From: Kyle Meyer
Subject: Re: Bug: ODT exporter permission issue on functional distros (eg, Guix) [9.1.9 (release_9.1.9-65-g5e4542 @ /home/cwebber/.guix-profile/share/emacs/26.3/lisp/org/)]
Date: Tue, 13 Oct 2020 00:18:08 -0400

Christopher Lemmer Webber writes:

> Emacs  : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
> Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ 
> /home/cwebber/.guix-profile/share/emacs/26.3/lisp/org/)
[...]
> Subject: [PATCH] ox-odt: Fix read-only error with styles.xml.
>
> On systems where the source file is read-only, it's possible that
> the destination styles.xml could end up read-only as well, resulting
> in an error when modified or deleted by us.
>
> * lisp/ox-odt.el (org-odt-template): Explicitly set permissions of
> styles.xml to read-write for the current user.

Thanks for the patch.  I believe the issue should already be fixed by
6315e1e76 (ox-odt: Get write permissions on styles.xml, 2019-12-20),
which was a part of the 9.3.1 release.  It makes the same set-file-modes
call as your patch, but a bit downstream of the spot you chose.



reply via email to

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