Re: who does make XDG_CONFIG_HOME directory (with inappropriate permissions) ?

Andrey Rakhmatullin <[email protected]> Sun, 2 Aug 2026 02:29:39 +0500
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
--wF/7NrQA2D0YFGuT
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 01, 2026 at 09:51:51PM +0200, Jerome BENOIT wrote:
>Hello,
>
>I am maintaining the package wxmaxima. I am currently bringing tests to th=
e package.
>I have notice that when the XDG_CONFIG_HOME directory (~/.config by defaul=
t) does exist,
>wxmaxima creates it but with inappropriates permissions.
>For illustration, if a Sid schroot environment I do:
>
>$ export XDG_CONFIG_HOME=3D$HOME/XDG_CONFIG_HOME
>$ rm -rf $HOME/XDG_CONFIG_HOME
>$ xvfb-run -a wxmaxima --version
>
>then the directory ~/XDG_CONFIG_HOME is indeed created, but with inappropr=
iate permissions:
>
>$ ls -ld ~/XDG_CONFIG_HOME
>
>gives
>
>dr-------T 2 username usergroup 4096 Aug  1 19:47 /home/jgmb/XDG_CONFIG_HO=
ME/

>Right now, I have no idea who makes the directory.=20

wxmaxima?

>Is it a script somewhere or
>the underlying wxWidgets library or something else ?

Something inside wxmaxima does it. You shouldn't try to guess which part=20
of it and I doubt it's possible to answer this without investigating or=20
knowing the answer in advance.

--=20
WBR, wRAR

--wF/7NrQA2D0YFGuT
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQJhBAABCgBLFiEEtf6ieDcfC1EgtGkao+OWn23e7IYFAmpuZT8tFIAAAAAAFQAP
cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEKPjlp9t3uyG
IGMP/AxIc4VQWSoR5Gr8PjPZ4vAYEhYOjWF7xmkWoeVt2jmg70/2wvna8ApRbJDk
FWWwHeWkJc66R0NmZ2Ud4/qsgKgnmA41FHOEmlcKACKyNQs4o/ZUqL00D3OEztwM
sqahpMskqWujwkzRfod7Z1/s5AkiPhirCwEabRi4iC1ACvyR4C3ZaoVGrCJhx7lY
sDymGXjo2+4vqLoaoXxMTfgK1Ny917yEWcWiSTryKyHRur/iL1jKW2OW/cSgQzP2
3reYgrCbpJt/9TgjBugMPixaU59JRriqPhAHZSvqRoajCOrMoP5h/V1Guy4gthT5
Hdy0B0soAgrJJ755tLB9XhcSqCGaBNtTzE+VzhywAhHk+ciCqM6tx2DjUnTxjcTh
J/6bg54OU9UI2M8XArd44RmqeDIAudEPiaEDXu+9k9bFqobI/0l70dm8mKGbchxf
MZ5PBywKQi47VEWQhImB7996xa8lSIHp2U7Wz8E0U5B9h7ZVpT9LgpwFZWyXT0BT
M/3KCrNR3GmG07kzyvAjJfm3yZNdehoceL4zGrvoxZxwHaJg9tlimeiADqwSCuVa
01UGgwNx6bh2XD6MPZz6hpTcYWM5/jPSMt5uu4QnToYowkNSUukFmGRvcO5VnRCp
VonvKgwLCosYu50uqT4zzN3vYPthqrZpNwroXQeo15njZPVP
=MjPp
-----END PGP SIGNATURE-----

--wF/7NrQA2D0YFGuT--