GNU bug report logs - #71732
30.0.50; [FR] xdg: provide an ability to create XDG directory, if it does not exist

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Sun, 23 Jun 2024 09:40:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: bjorn.bidar <at> thaodan.de, 71732 <at> debbugs.gnu.org
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
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: 71732 <at> debbugs.gnu.org, bjorn.bidar <at> thaodan.de
> Date: Sun, 23 Jun 2024 11:42:47 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> 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.




This bug report was last modified 1 year and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.