From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0ARPJ1kOkmAd7wAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 05:17:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QIADI1kOkmAiPgAAB5/wlQ (envelope-from ) for ; Wed, 05 May 2021 03:17:45 +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 E0424239F5 for ; Wed, 5 May 2021 05:17:44 +0200 (CEST) Received: from localhost ([::1]:59794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1le82g-0005fM-0Q for larch@yhetil.org; Tue, 04 May 2021 23:17:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le823-0005eh-IL for emacs-orgmode@gnu.org; Tue, 04 May 2021 23:17:03 -0400 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:41657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le820-0002PP-W2; Tue, 04 May 2021 23:17:03 -0400 Received: by mail-qk1-x729.google.com with SMTP id l129so310770qke.8; Tue, 04 May 2021 20:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=mlAkjCjcWXqKp4Hx2mCSZfg7Pn7ugjaTXBXjlMVWm4A=; b=Zt6yygaQ2VuBrV/tAJwkwgFnw0GBT9P/VCshKI5Qfyfk5SCGBuAQQQ7Xp43Nr8+D1C SLbb7K5fuY2qhi7gD69hWvFIQ1UDLMj9oksfXZbga3Y0TQqW7p/Q84051nmPB4cP9p0n YE/OFIo4Q42C3yTojLNFthYJug+FJs8Bq+L5ES3+VBSzfRsR4QQWICMh+zthIMIBiwCm 58s4KGA5tPdCaaiqrjkjrZAvpqkLIfEI8icmQz94W0GSh5TO0cVM+2gKxRGlw6HxDr4G /zszzxEnHzJ/YXDzPyc00H11pDox8k+kS/xgqFmsOkWCHOPTwuGfV3zafvorpj8xSW54 hgLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=mlAkjCjcWXqKp4Hx2mCSZfg7Pn7ugjaTXBXjlMVWm4A=; b=hNqY8aePlyhQyNqG6SCnSiVUwRr4XuU6Ba1vSLiKO1kRO5sdDlxmS74Tt4LbYNYxYs n2W21BJYKHq7J9huvc+mQfI4NZSqIfCw0CCu8GEZ18ylbofETVT/m7vvg57yOvQXlHQh IZeBEDFG0v1ls8+pdFuPF8tTg6dFe433EToZZYd1U9mq9bZ64qdOiLlRZxOXeTLfWazR pqkz6Deb7ekPrM0Q1yV3KSAwbDGnopG1bEjKdxhchtxiSrBLDd5AugPooMTSdKh802SP GFa0tCdFw3TYyG9wsnvrl3fORss3WNjPTxUMNf/B1KiC9Sdz9Oetgx+h3RijvgsghboT 2mJQ== X-Gm-Message-State: AOAM530yIXxCoGBQCB7wVSY3dmu/vFCaCYRm/zEcuYWhEWZK4bcl36gL hi6W2srGCVYN5HDaJr6UNG0= X-Google-Smtp-Source: ABdhPJy8sPjz4Ce1gRJzNlvppSTAkwDGWO5aIwYO2nQd+h+CL35OHZdTdW7uY6wsC6LiHm1EF8tORA== X-Received: by 2002:a05:620a:303:: with SMTP id s3mr28287031qkm.408.1620184619492; Tue, 04 May 2021 20:16:59 -0700 (PDT) Received: from arch ([2601:8b:c300:1024:1266:d0ff:1635:f964]) by smtp.gmail.com with ESMTPSA id f125sm12686579qkj.38.2021.05.04.20.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 20:16:58 -0700 (PDT) References: <875yzy73k0.fsf@gmail.com> <1e5a447a-2453-09da-fa51-379c9187b210@posteo.eu> <8735v2706t.fsf@gmail.com> <87im3ys0ik.fsf@gnu.org> <28c262ba-7816-a38f-8d1d-c4d6d880d2e2@posteo.eu> User-agent: mu4e 1.5.13; emacs 28.0.50 From: No Wayman To: sebastien.miquel@posteo.eu Subject: Re: Bug: org-babel-tangle: persmission denied when tangling [9.4.5 (9.4.5-gbc2659 @ /home/n/.emacs.d/straight/build/org/)] Date: Tue, 04 May 2021 23:15:10 -0400 In-reply-to: <28c262ba-7816-a38f-8d1d-c4d6d880d2e2@posteo.eu> Message-ID: <87y2ctlviu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::729; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x729.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: Bastien , Tom Gillespie , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620184665; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mlAkjCjcWXqKp4Hx2mCSZfg7Pn7ugjaTXBXjlMVWm4A=; b=OM/G2T0a1CEDwzFJnacY3duaL1wZ+5Yrb8Q1MMgWeWziCoz66IRHOmZXaVKClKA+HbUATQ ERtU06p2zO9vr+S2W3HCE7iIPYbqvcpYYHDl24w+ZKDgQPlANddepYIr7f5/qea96awaPx kaejCmr2wiMMWcz9juzXY+s/Cnibx6YTW/ccJCj8hf5tvUS6nkCwJ7FVJf9160kcnt05Ls kGCJl7G7+Yo1KwKXQkX7Vu2nLy+CiOiKvpUMb39nsoMGzf0EYFdMSGnGWwKlbzMowG9eo6 QykB6axN1M/uDZ3DbLRtUhFegFJFq/wXPUdyiqyolA7EQcylGB/vWswFxRU3pg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620184665; a=rsa-sha256; cv=none; b=Tj0nuBfMMKL5ytGBGwKK5fVYgwWWomVMZQNVw6VIxrc7NA6UV8BMk4TzqBNVpAYwVyPwJj lqXQJRptl2xaAuTLz6MX952mS3sTQnfAneR90tDyy0OyiasQqB3l/if7erfyrKWv1r8khs vqJQb1q612y0kpEsr+miICetUXIa8DbhfxRK1zR0/V1HGFclMXM/OxywlxGcPIksc6PjgH RlB+zVfpHrVgk3TbqjDMOGcw63maz3tDt1JFnF+FYqMi87YHP7Pv0GOhNzzsY9C74x/vff McaNWnLDTl/7G599JfJGpQEzE4XQBsJ8Yey/NItRLt97Oz8OWXXy0+vkPk0ugQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Zt6yygaQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Zt6yygaQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: E0424239F5 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: LgmFtuYrKrsu S=C3=A9bastien Miquel writes: > Hi Bastien, > > Bastien writes: >> I tried to apply this (transitory?) patch against maint and it=20 >> did not >> apply. It applies okay on master. For bug fixes, please make=20 >> patches >> againt the maint branch. > This fixes a bug introduced by a commit in master. I've attached=20 > the same > patch here, properly formated. I think it should be applied to=20 > master. > > It reverts a part of a2cb9b853: permissions are no longer set=20 > before writing > to the tangled file. > > I've CC'd Tom, which made the original suggestion. I guess we=20 > could set the > write and execute permissions before writing, and set the read=20 > permissions > afterwards. Another related bug to the changes: I have the :tangle header-arg set to evaluate some elisp to return=20 the file name: org-babel no longer interprets this elisp. It is being used=20 literally as the file name: e.g. Wrote /home/n/.emacs.d/(concat (file-name-sans-extension=20 (buffer-file-name)) ".el")