Hello,

Isn't there UID mapping support for this purpose? For that specific NFS
mount, you could map whatever UID it is to UID 0

Best,
Adrian

On Thu, Mar 27, 2025, 15:03 James Muir (jamesmui) <james...@cisco.com>
wrote:

> > > 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.
>
>
>
>
>

Reply via email to