From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eBlIEiIWgGGx+wAAgWs5BA (envelope-from ) for ; Mon, 01 Nov 2021 17:30:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OJryDSIWgGHPBwAAB5/wlQ (envelope-from ) for ; Mon, 01 Nov 2021 16:30:26 +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 80A69160B1 for ; Mon, 1 Nov 2021 17:30:25 +0100 (CET) Received: from localhost ([::1]:33190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhaCV-00061T-IQ for larch@yhetil.org; Mon, 01 Nov 2021 12:30:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhaBU-000614-Vd for emacs-orgmode@gnu.org; Mon, 01 Nov 2021 12:29:21 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:50876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhaBT-0005U3-77 for emacs-orgmode@gnu.org; Mon, 01 Nov 2021 12:29:20 -0400 Received: by mail-pj1-x1033.google.com with SMTP id gn3so12493138pjb.0 for ; Mon, 01 Nov 2021 09:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=8LOtrfVFUOWlASwTvjzwNNovuknX0X2CCTADBsCbUXg=; b=YbUXGbmIIlMgH5fHCHvMq9Ai0b6GVrZMgEERyWPHaeIITLnOJJ7H3vCjaV/EPrJFVF Mmjjn3tC3WI4CM27CceVgM/1/a2I+AMpbxpI9mhTfjzraKYQpwNF4glswfMv6Wlxlr2c Y46+Q578MmiYB/5ZFvY9NBcH176JEteuqQ5SNcqpakgtBgvDOVbQcPBbJij6uNqUBuU0 DcVcPAbslq0Ed0V7yvHm3ZlZ2AYPfcew8ZEym3hCPg6TQ+LZwhzBTdLsgD+UUEaSCSWo KiydIQ/agYTd/qJDwhSTz88U1YzhOWF5FeL3Oz7wYZ/q/7Yd1VgwgX5Uxg5QfDDrHFQr 3lsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=8LOtrfVFUOWlASwTvjzwNNovuknX0X2CCTADBsCbUXg=; b=nFH+GDEXF9/+lRotc7tqrDDCa1kx+22tmxCLc7+V17Zw6M4ODuModa9QKXdI6+nP6f xSLRGwkEVJoooOO8O9vFmRI4uTBeTxUKLv4ywUo6IlmSjJ00Tl6oqbHf7kqRN8Iac+Yf fJDKySf5+m2H0ozmyYqxRck/Zzh/l9/heHaonB6PTmhFc9cAvN+t4ZZKH0/eck+lwYa1 EyJH9wlIwlcPu1m2cbwpD8BweZnTgp14nPdVPF7nxEsTm8CLJDWNjvcHq9z34C+yYQe3 2ykuGtVlDwSeAElcz2/+QT5AHwABZvBWC1ZcFddBmfn0G6li9qrgxbtJToh40dKr/O+P 08ig== X-Gm-Message-State: AOAM530xBG7/Af54zoocSnPCqRHwdzut2RvDVBQzH0UQDuXcUy4KZrft tNcN7BYpNkhXJjivfmfgTRE= X-Google-Smtp-Source: ABdhPJyBdzjLUji2tgfUaOqyTFd8xDV0LHYcLDqKv8zRO2dWn6eptM91w5bJpLfCV3QgQkTMFFtoxg== X-Received: by 2002:a17:90b:1b04:: with SMTP id nu4mr2442pjb.72.1635784157524; Mon, 01 Nov 2021 09:29:17 -0700 (PDT) Received: from localhost ([101.99.64.65]) by smtp.gmail.com with ESMTPSA id k6sm3232490pfu.48.2021.11.01.09.29.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 09:29:16 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Subject: Re: [BUG] Org V 9.5 error when ~/.cache doesn't exist In-Reply-To: References: <877ddsazc9.fsf@localhost> Date: Tue, 02 Nov 2021 00:30:43 +0800 Message-ID: <87sfwfale4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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.29 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635784225; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8LOtrfVFUOWlASwTvjzwNNovuknX0X2CCTADBsCbUXg=; b=RCrFaeOx8PJsnBfvNmuHyqfoVbyYIssa8uRZMvjrlPB24n4X71g/iZnxpMoyUa/gzSmNCW ORsbU/LRmmfZqfrlPL85jBnYp+BygTVjhD+0poLCm3isq00ukog+kIiNgCT1SIrf9qurmA 7n+ggj0bIqtPxjWEwtpSoC24tVyvyi6NO/WH/xty+l8IB/rssY/fyslfP0daT8acWpSxv7 VMcap6dlOMZszqp8NeX3A0IMIopOUwAAC48jsU87s0ymfn21N25MReU5YDVS13YCGJppoz SrBQhUNEfSlhuGWNR+bjHG7PwePSaOVQFZwEaZHSOcmMvPltlb4fLj1uHFxfrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635784225; a=rsa-sha256; cv=none; b=UvyinPaIqxIelPunQzpby4kdw02UsUW0WBlXuBZrZms7KW0WI6o7jIL+mHXG0W5h17FY5+ LGMUCy4UuBCHss5ILVCVdyTztoJWz0eHldjKZ2SZahjavdYvAyCzOMfD1vMQypnluDv+tH AdJ0hp7f+idqJh5QUdKGcCUSLgZAVi1RU5WoKl/leEIb1k3yE/gnXtK/7CajhgOrbFUJiD ngKmibE9InxuVR1kV234ojcEe+tL7Pj1QYst47JQVF3rDCXSeEzStMke0r8aRPEEIypPQW JEBh/8kKY3KliCyU08+hh7gk2CBm8Dv6ZNOy/2Pro7ubKxsdP8bYXRGCnVyrFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YbUXGbmI; 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: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YbUXGbmI; dmarc=pass (policy=none) header.from=gmail.com; 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: 80A69160B1 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: pJ58tJwT6aiy Max Nikulin writes: > Ihor, your fix affects linux as well. .cache directory may be missed in > fresh accounts. E.g. I just have created a new test container (my old > one has emacs-25): You are right. Though creating .cache dir is probably a job for xdg.el, not Org. XDG spec prescribes specific permissions for the XDG directories. I would prefer to send a bug report/feature request to Emacs core rather than fixing this scenario on Emacs side. Best, Ihor