Bug#1072249: systemd: leftover files on the underlying /tmp since /tmp became tmpfs
Luca Boccassi
bluca at debian.org
Fri May 31 10:03:07 BST 2024
On Fri, 31 May 2024 01:37:32 +0200 Christoph Anton Mitterer
<calestyo at scientia.org> wrote:
> Oh and one more:
>
> The underlying /tmp (i.e. when not mounted) is now still
> 1777/drwxrwxrwt .
>
>
> It might make sense to change that to e.g. 0755/drwxr-xr-x?
>
> Of course that would leave a defunct /tmp if the tmpfs is unmounted,
> but at the same time prevent accidental writes there.
>
> So depends on whether it's still intended to have the non-tmpfs /tmp.
That would make it harder to switch between the different setups (by
masking/enabling the tmp unit), so I am not going to add that to the
suggestions. You can of course do it on your machine if you prefer to
lock it down further.
--
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20240531/e37d14b2/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list