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