From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: =?UTF-8?B?UmU6IFtOaWNvbMOyIEJhbHphcm90dGldIFtidWcjMzg2MTZdIGVt?= =?UTF-8?B?YWNzOiBmaXggb2R0IGV4cG9ydA==?= Date: Tue, 17 Dec 2019 10:36:51 +0100 Message-ID: <874kxz9tu4.fsf@nicolasgoaziou.fr> References: <87a77ueaka.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87bls9eif6.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51993) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ih9Hk-0003DM-LG for emacs-orgmode@gnu.org; Tue, 17 Dec 2019 04:36:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ih9Hj-0000kn-Nw for emacs-orgmode@gnu.org; Tue, 17 Dec 2019 04:36:56 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:50109) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ih9Hj-0000ff-Hr for emacs-orgmode@gnu.org; Tue, 17 Dec 2019 04:36:55 -0500 In-Reply-To: <87bls9eif6.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> (=?utf-8?Q?=22Nicol=C3=B2?= Balzarotti"'s message of "Sun, 15 Dec 2019 16:07:41 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: =?utf-8?Q?Nicol=C3=B2?= Balzarotti Cc: 38616@debbugs.gnu.org, emacs-orgmode@gnu.org Hello, anothersms@gmail.com (Nicol=C3=B2 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, --=20 Nicolas Goaziou