From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] ox-odt.el: (org-odt-template): Get write permissions on styles.xml Date: Sun, 22 Dec 2019 10:24:00 +0100 Message-ID: <877e2o7lxr.fsf@nicolasgoaziou.fr> References: <878sn75k1y.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]:53781) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iixT4-0005GU-95 for emacs-orgmode@gnu.org; Sun, 22 Dec 2019 04:24:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iixT3-0005bO-0A for emacs-orgmode@gnu.org; Sun, 22 Dec 2019 04:24:05 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:48903) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iixT2-0005NV-OC for emacs-orgmode@gnu.org; Sun, 22 Dec 2019 04:24:04 -0500 In-Reply-To: <878sn75k1y.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> (=?utf-8?Q?=22Nicol=C3=B2?= Balzarotti"'s message of "Fri, 20 Dec 2019 12:10:49 +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: emacs-orgmode@gnu.org Hello, anothersms@gmail.com (Nicol=C3=B2 Balzarotti) writes: > I attached a patch that is required to get ox-odt to work on > guix/nix/other distributions where package files are placed in a > read-only directory. After the file styles.xml is copied to /tmp, now > we set read-write permissions to it before trying to write it. Before > this patch, we got the error: > > 'OpenDocument export failed: Buffer is read-only: #'. > > It's my first patch and is just 1 line long, so following instructions > on https://orgmode.org/worg/org-contribute.html#commit-messages I added > the TINYCHANGE cookie. Tests (make test) are passing. Applied. Thank you! Regards, --=20 Nicolas Goaziou