From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id II9zLbwqhV/aDgAA0tVLHw (envelope-from ) for ; Tue, 13 Oct 2020 04:19:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IKszKbwqhV/wGwAAbx9fmQ (envelope-from ) for ; Tue, 13 Oct 2020 04:19:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8D298940149 for ; Tue, 13 Oct 2020 04:19:07 +0000 (UTC) Received: from localhost ([::1]:51332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSBmD-0000q6-7R for larch@yhetil.org; Tue, 13 Oct 2020 00:19:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSBlP-0000pw-Em for emacs-orgmode@gnu.org; Tue, 13 Oct 2020 00:18:15 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:64575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSBlM-0004kz-Dc for emacs-orgmode@gnu.org; Tue, 13 Oct 2020 00:18:14 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 788C56CA60; Tue, 13 Oct 2020 00:18:09 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=a7M9gcL+6jdDeo7ycVrkzzdahbc=; b=s+Owps TqmUXJwnvoki0GqEnldnUCljvTaDDDMl8lEXWizAN1+uzRhavIK97vMRmetrkCtq Rlvj5mwg91RXdHaiqGqf1ewZRQxRhVo+gY6xUyQ5RbwBE9IJwBobJAbefAOB5Xbo MlpXmGQDyqaQ4UOsXcpNpJggp911/IJO0SjIc= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 62BA26CA5F; Tue, 13 Oct 2020 00:18:09 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=qPaHnH28O5cecUHGPKbXS/6ZZSyH1yKP+BLzJ9u5IMI=; b=OQ5iWnxi1UsqBJctNg2tD7ZXlN0KVrCeGt2+ZAAMlBZVmBvS/8bQ22bpuZCoMk3zy/Q0RPvLmOoE6mNUJK6A5cuxu+xijqHYEgsONFN4fNJN9zh7gCB3qWn8uqMPAGyd1ZLnZDxE6euWPNgM0wFYIOLliUSWta0phWTaqAaRI0U= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id D41B46CA5D; Tue, 13 Oct 2020 00:18:08 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Christopher Lemmer Webber 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/)] In-Reply-To: <87zh4s7kgt.fsf@dustycloud.org> References: <87zh4s7kgt.fsf@dustycloud.org> Date: Tue, 13 Oct 2020 00:18:08 -0400 Message-ID: <87k0vukbcv.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 19849CC0-0D0B-11EB-8131-74DE23BA3BAF-24757444!pb-smtp2.pobox.com Received-SPF: pass client-ip=64.147.108.71; envelope-from=kyle@kyleam.com; helo=pb-smtp2.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/13 00:18:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=s+Owps T; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=OQ5iWnxi; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: j/fgOoISjBAn 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.