[systemd-devel] systemd-tmpfiles, unsafe path transitions

James Muir (jamesmui) jamesmui at cisco.com
Thu Mar 27 18:44:34 UTC 2025


> > Is there a conf option or an environment variable I can use to disable the unsafe path transition check?
>
> No there is not. It's a security hole what you are doing there...
>
> > Failing that, is there a way I can change the ownership systemd-tmpfiles sees?
>
> Why not just fix the ownership of the root inode? i.e. actually fix
> the original problem that causes the message to show?

The root filesystem is mounted read-only because the nfs server only allows read-only exports (i.e. "ro").

So, "chown root:root /" does not work on the client.

And on the server, I do not have root access.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250327/a9b25ba7/attachment.htm>


More information about the systemd-devel mailing list