GNU bug report logs - #38616
emacs: fix odt export

Previous Next

Package: guix-patches;

Reported by: anothersms <at> gmail.com (Nicolò Balzarotti)

Date: Sat, 14 Dec 2019 23:46:01 UTC

Severity: normal

Done: Nicolò Balzarotti <anothersms <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 38616 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: anothersms <at> gmail.com (Nicolò Balzarotti)
Cc: 38616 <at> debbugs.gnu.org, emacs-orgmode <at> gnu.org
Subject: Re: [Nicolò Balzarotti] [bug#38616] emacs: fix
 odt export
Date: Tue, 17 Dec 2019 10:36:51 +0100
Hello,

anothersms <at> gmail.com (Nicolò Balzarotti) writes:

> The problem happens on ox-odt, when the file OrgOdtStyles.xml
> permissions are read-only (this is true especially for Guix and Nix
> where all the "store" is readonly). The file gets copied to /tmp/ob-*/
> directory, and is then modified. However, the file is assumed to be
> read/write. When the file is not, the export fails. I've sent a one-line
> patch (simply change permissions to the newly-copied file):
>
>> (set-file-modes (concat org-odt-zip-dir "styles.xml") #o600)
>
> to guix-patches (here in CC, I'm also forwarding my original patch
> submission here), but I've been suggested to send the patch upstream.
>
> What do you think? I can submit a proper patch if needed (but feel free
> to patch it yourself)

It sounds good. Could you send a patch against "maint" branch?

Thank you.

Regards,

-- 
Nicolas Goaziou




This bug report was last modified 5 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.