From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0CfyONXu2l8lSAAA0tVLHw (envelope-from ) for ; Thu, 17 Dec 2020 05:38:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IJXFNNXu2l+wRAAA1q6Kng (envelope-from ) for ; Thu, 17 Dec 2020 05:38:29 +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 4D9D39404E7 for ; Thu, 17 Dec 2020 05:38:29 +0000 (UTC) Received: from localhost ([::1]:35218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kplze-0008Eg-Ms for larch@yhetil.org; Thu, 17 Dec 2020 00:38:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kplyl-0008EM-VQ for emacs-orgmode@gnu.org; Thu, 17 Dec 2020 00:37:32 -0500 Received: from out0.migadu.com ([94.23.1.103]:53944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kplyh-0001cO-Tw for emacs-orgmode@gnu.org; Thu, 17 Dec 2020 00:37:31 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1608183444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LgnYmbLSGYS6FXh3oOfEDXKWIev8dWjDBpWat4/HKGw=; b=opOpUjblLGxpkcfG1zuafmwX3ockkFMQPRc/jewGZ3iGkfF47Zg1RoiUAUY0zwde3fbPcw Z6sb0vkEjo30MR7Peh9Uc1v5CsyqRMQpzUPB9i8ZGiuB+TljmERYqm0B8FG9fb1V6Lm0w0 CyvOk7cQ1bJEOOMrJ9ZzmfJ3urysZb+tHACzEiMQxD4HF5EOcOE569GtNMZgLWMuChSG+2 7oGQlx0D066v8zz/nL/RKZoly6S3UZHs6+aK66/uAe8l0K4lufSiwdNIzKv2d2OzT8TVPf aqzJGqEYzQwE1xqf+ZExphOc7Ps1suj6hEilNN6dDotlZqYVwCzGp5lBHM5RiA== From: Kyle Meyer To: Ian Garmaise Subject: Re: error when archiving two subtrees in a row In-Reply-To: References: Message-ID: <877dphq9gt.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Thu, 17 Dec 2020 05:37:24 GMT Received-SPF: pass client-ip=94.23.1.103; envelope-from=kyle@kyleam.com; helo=out0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=opOpUjbl; 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-Migadu-Queue-Id: 4D9D39404E7 X-Spam-Score: -2.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: FpT0ajKzKBzF Ian Garmaise writes: > When I archive one subtree (C-c $), the first one succeeds. > The second archive operation fails with a permission denied error as shown > in the messages buffer: [...] > Noticed this yesterday. Updated org and all packages, then tried it again > today, was able to reproduce it easily Hmm, was that an update from 9.3.* or earlier? 9.4 came with a new option org-archive-subtree-save-file-p. With the default value, the file is saved when archiving from an Org buffer but not the agenda. Before 9.4 [*], the file was never saved, so you could set org-archive-subtree-save-file-p to nil to restore the pre-9.4 behavior. That should sidestep the issue, though I don't know why you're hitting. I'm guessing you only see it with dropbox files? [*] Going farther back, the behavior was to always save. That changed in 9.1.4 63f6e851b (Do not save target buffer after archiving subtree, 2017-11-25).