Sample Header Ad - 728x90

Is it possible to change systemd private tmp directory?

15 votes
1 answer
3710 views
I am running some programs on both Debian and Fedora. When I ls the /tmp directory, I see many directories with extremely long name like systemd-private-d85027...-bluetooth.service-qxzMGm systemd-private-d85027...-chronyd.service-vSzXdP systemd-private-d85027...-colord.service-LvpIL2 systemd-private-d85027...-fwupd.service-cbpodH systemd-private-d85027...-httpd.service-rJIaIX It seems to be related to PrivateTmp, but how can I remove them or move them to a less distracting location? (e.g. from /tmp/systemd-... to /tmp/.systemd-...) I want to try not to change the PrivateTmp option for every service.
Asked by Eric Stdlib (559 rep)
Apr 3, 2018, 08:56 PM
Last activity: Jul 29, 2025, 10:00 AM