Package: kdesu / 5.28.0-2

Metadata

Package Version Patches format
kdesu 5.28.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
e3ff52a Unsets XDG_RUNTIME_DIR in processes run with kdesu.patch | (download)

src/kdesu_stub.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 unsets xdg_runtime_dir in processes run with kdesu

Summary:
If we keep a XDG_RUNTIME_DIR value from another user then all kind of
breakages might happen. For example, if user foo runs
"kdesu -u bar dolphin", then when dolphin tries to get
QStandardPaths::writableLocation(RuntimeLocation), it returns an empty string
(because XDG_RUNTIME_DIR is not correct). which makes kio try
to write a socket to access kio slaves in / . Which, for most users
results in applications not being able to use kio (so no usable dolphin)
and for root, it means sockets were created in / .

Look at https://bugzilla.opensuse.org/show_bug.cgi?id=1009510 and
https://phabricator.kde.org/D3317 for more information

Reviewers: dfaure

Reviewed By: dfaure