From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71732: 30.0.50; [FR] xdg: provide an ability to create XDG directory, if it does not exist Date: Sun, 23 Jun 2024 14:53:21 +0300 Message-ID: <86o77reuz2.fsf@gnu.org> References: <87pls8uhcu.fsf@localhost> <86v820dl2d.fsf@gnu.org> <87msncufil.fsf@localhost> <86sex4dkij.fsf@gnu.org> <87jziguesw.fsf@localhost> <86r0cnew34.fsf@gnu.org> <877cefvqa0.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, 71732@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 23 13:54:26 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sLLnd-0003AV-2N for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jun 2024 13:54:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLLnH-00028s-Jh; Sun, 23 Jun 2024 07:54:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLLnF-00028Q-Sa for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 07:54:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLLnF-0002yD-JY for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 07:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLLnF-0008Rl-O9 for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 07:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jun 2024 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71732 X-GNU-PR-Package: emacs Original-Received: via spool by 71732-submit@debbugs.gnu.org id=B71732.171914361532409 (code B ref 71732); Sun, 23 Jun 2024 11:54:01 +0000 Original-Received: (at 71732) by debbugs.gnu.org; 23 Jun 2024 11:53:35 +0000 Original-Received: from localhost ([127.0.0.1]:55960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLLmp-0008Qf-03 for submit@debbugs.gnu.org; Sun, 23 Jun 2024 07:53:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLLmm-0008QK-Cr for 71732@debbugs.gnu.org; Sun, 23 Jun 2024 07:53:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLLmf-0002uf-AE; Sun, 23 Jun 2024 07:53:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GXHqWDBPo1tur/9y+h3ZU46Fg3rObz+WQmiwcAfhuQk=; b=XbTsyXogEtfo BNbWR885EJhOnEYJnuqjhaSTOzgCQt6w2f5QkshMZRoSpFjkZM6bF0iAcWr1xmjP0Phuy8A1XpPYI djavBfzdXCqOhz+2TBqUeA+1Q8/5eg+d9SiS6RxD0ewBLl9wbd2Y65iExqR3oi8REj3o/L3AF1ice VeVI1OrUpv7OcjdSduld1QDHvhoW5urYgy6SdDitFTbkY6cn3qxaac0lPEaeCP0zFYXsYDn+IKseY 969KW0/Cky97gjRfPUQnRYyaiccgJHDQKEKQ4gkG+VDOY/jXsve/ApP7N1s+taFB/xgXSLMu0ZIPu +BGspg4aOTtFs/K61oCTkQ==; In-Reply-To: <877cefvqa0.fsf@localhost> (message from Ihor Radchenko on Sun, 23 Jun 2024 11:42:47 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287778 Archived-At: > From: Ihor Radchenko > Cc: 71732@debbugs.gnu.org, bjorn.bidar@thaodan.de > Date: Sun, 23 Jun 2024 11:42:47 +0000 > > Eli Zaretskii writes: > > >> Let me clarify: I did not mean creating a directory _under_ XDG > >> directory. I meant creating XDG directory itself - it is regulated by > >> XDG spec. > > > > Yes, I understood, and my response includes that part as well. > > Then, I do not understand your > > >>> ...I disagree, mainly because the details are not part of XDG > > According to > https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html, > 0700 permission is a part of XDG spec. I already explained that: we don't blindly follow any standards, and this particular issue is up to the calling Lisp program. xdg.el has no business forcing permissions on the caller.