https://bugs.kde.org/show_bug.cgi?id=400451

Ardith Metz <itgvk...@grr.la> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |wayland-generic
            Summary|Plasma wayland session      |kwin_wayland blocks TMPDIR
                   |doesn't export provided     |env variable inheritance in
                   |TMPDIR env variable         |Plasma wayland session
           Assignee|unassigned-b...@kde.org     |kwin-bugs-n...@kde.org
            Product|ksmserver                   |kwin

--- Comment #4 from Ardith Metz <itgvk...@grr.la> ---
I've found the cause. 'kwin_ayland' binary is installed with 'CAP_SYS_NICE'
file capability[1] which blocks 'TMPDIR' inheritance across the runtime chain.
Removing that capability makes 'TMPDIR' correctly exported again.

This was introduced in[2]  and caused env variables inheritance issue already
in[3].

I think the fix should be similar to the above - if TMPDIR var exist then pass
it explicitly to child processes 

[1]
https://github.com/KDE/kwin/blob/988ca97c96f11912a856f36daf5f044845044f7b/CMakeLists.txt#L702

[2] https://github.com/KDE/kwin/commit/7c8003f7f6212ccad7de652943f94d501365d30f

[3] https://github.com/KDE/kwin/commit/eb69e87288d37fdb13eca32ca807ed8279f912af

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to