Gnome libsoup is creating a ton of directories in /tmp
on the form grilo-plugin-cache-*/
There's an open issue about it, but it has been open for two years, and the developer does not seem to agree that it needs a solution.
This clutters my /tmp
and I would like to have all of those in a dir like /tmp/grilo-plugin-cache/
I also have the same issue with a lot of folders on the form systemd-private-*
This is what it looks like:
➜ /tmp ls
clr-debug-pipe-832-766-in
clr-debug-pipe-832-766-out
CoreFxPipe_Muse.MuseHub.Service.Pipe
dotnet-diagnostic-832-766-socket
grilo-plugin-cache-09T4Y1
grilo-plugin-cache-1HZ0Y1
grilo-plugin-cache-5EZ0Y1
grilo-plugin-cache-6EV4Y1
grilo-plugin-cache-6W84Y1
grilo-plugin-cache-9IS0Y1
grilo-plugin-cache-ES24Y1
grilo-plugin-cache-GL00Y1
grilo-plugin-cache-K2Z0Y1
grilo-plugin-cache-KW94Y1
grilo-plugin-cache-MG94Y1
grilo-plugin-cache-R2P0Y1
grilo-plugin-cache-WMA5Y1
grilo-plugin-cache-Z1Y0Y1
grilo-plugin-cache-Z394Y1
grilo-plugin-cache-ZYO0Y1
scoped_dirMr2nMA
snap-private-tmp
ssh-XXXXXXoXxg8w
systemd-private-f483931e7368462ab0bad8764f007e16-colord.service-HHyZpa
systemd-private-f483931e7368462ab0bad8764f007e16-geoclue.service-4zdqDB
systemd-private-f483931e7368462ab0bad8764f007e16-ModemManager.service-Cdy8Br
systemd-private-f483931e7368462ab0bad8764f007e16-power-profiles-daemon.service-T3v8R9
systemd-private-f483931e7368462ab0bad8764f007e16-switcheroo-control.service-GnuvPE
systemd-private-f483931e7368462ab0bad8764f007e16-systemd-logind.service-wAVeO1
systemd-private-f483931e7368462ab0bad8764f007e16-systemd-timesyncd.service-dgE0Sx
systemd-private-f483931e7368462ab0bad8764f007e16-tor@default.service-oBFlXN
systemd-private-f483931e7368462ab0bad8764f007e16-upower.service-c0PFyZ
Temp-457bb62c-cc09-4fa2-b934-cdacdaf59f16
tracker-extract-3-files.1000
tracker-extract-3-files.115
I'd like it to look like this:
➜ /tmp ls
clr-debug-pipe-832-766-in
clr-debug-pipe-832-766-out
CoreFxPipe_Muse.MuseHub.Service.Pipe
dotnet-diagnostic-832-766-socket
grilo-plugin
scoped_dirMr2nMA
snap-private-tmp
ssh-XXXXXXoXxg8w
systemd-private
Temp-457bb62c-cc09-4fa2-b934-cdacdaf59f16
tracker-extract-3-files.1000
tracker-extract-3-files.115
So I had an idea if this was solvable by somehow hijacking file accesses and redirect them somehow. I'm perfectly aware that this might be a very bad idea. If it is, let me know and explain why. But my end goal is to not have a completely cluttered /tmp
directory. I'm open to any suggestion, or even that I should just accept the way it is and not even try to solve it.
I'm using Debian if that makes any difference.