Bug#918666: wine hardcodes /run/user/$UID directory
On Sat, Jan 12, 2019 at 01:39:52AM -0500, Michael Gilbert wrote:
> control: tag -1 - moreinfo
>
> On Sat, Jan 12, 2019 at 1:19 AM Michael Gilbert wrote:
> > This is already the case. The current implementation automatically
> > falls back to TMPDIR if /run/user/$UID does not exist. It also
> > automatically handles creation of the wine subdirectory if it does not
> > exist.
> >
> > There may corner cases that are yet unhandled, can you better define
> > the problem you've actually seen?
>
> I think I see the problem. /run/user is checked for existence, not
> /run/user/$UID.
That seems correct, yes. Also, as mentioned, it should default to
XDG_RUNTIME_DIR, not /run/user/$UID (which is the default value for
XDG_RUNTIME_DIR, but can be defined freely).
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
Reply to: