[pdm-devel] applied: [PATCH proxmox-datacenter-manager] privileged api daemon: call fchownat with AT_SYMLINK_NOFOLLOW
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Aug 8 15:01:45 CEST 2025
On Thu, 07 Aug 2025 14:37:12 +0200, Lukas Wagner wrote:
> AT_SYMLINK_FOLLOW makes the fchownat call fail with EINVAL, which
> prevents daemon startup alltogether. The only supported flag for
> fchownat is AT_SYMLINK_NOFOLLOW [1]. If one would actually would want to
> follow a symlink here one would have to pass no flag at all.
>
> The socket path which is fchownat'd here should not be a symlink at all,
> so the safer option should be to pass AT_SYMLINK_NOFOLLOW.
>
> [...]
Applied, thanks!
[1/1] privileged api daemon: call fchownat with AT_SYMLINK_NOFOLLOW
commit: cc9bc95e2da6bfbf3930627ebf6dc5427beea75b
More information about the pdm-devel
mailing list