#1140540 nfs-ganesha: NFSv4 ownership mapping issue (shows as 65534/nobody) with newer client kernels

Package:
nfs-ganesha
Source:
nfs-ganesha
Description:
NFS server in User Space
Submitter:
Miquel Gual Torner
Date:
2026-06-22 11:53:03 UTC
Severity:
normal
#1140540#5
Date:
2026-06-22 11:51:42 UTC
From:
To:
Dear Maintainer,

I am experiencing an issue with NFSv4 ID mapping when serving shares
using NFS-Ganesha 9.6 to clients running newer Linux kernels
(specifically kernel versions 6.12 and 7.x, tested on Proxmox VE clients).

*** Symptoms ***
All files and directories owned by regular users (e.g., 'mgual') are
displayed on the client side as being owned by UID/GID 65534
(nobody/nogroup). Interestingly, files owned by 'root' (UID 0) are
mapped correctly as 0:0 on the client. Read and write operations work
perfectly fine despite the visual UID/GID mismatc
h.

This issue does not occur when the client runs older kernels, or when
using nfs-ganesha version 5.9-5 with client kernel 7.0.

*** Concrete Evidence / Command Output ***

1. On the NFS-Ganesha Server (Filesystem view):
The files are owned by user 'mgual' and group 'info':
----------------------------------------------------------------------
# find . -ls
2490382 126548 -rw-r--r--   1 mgual    info     129577718 Feb 27 2023
./template/cache/ubuntu-22.10-standard_22.10-1_amd64.tar.zst
2490405 1479336 -rw-r--r--   1 root     root     1514835968 Nov 26 2025
./template/iso/proxmox-backup-server_4.1-1.iso
----------------------------------------------------------------------

2. On the Client side (Kernel 7.x / PVE):
Files owned by root preserve their mapping (0:0), but files owned by
regular users drop to UID/GID 65534:
----------------------------------------------------------------------
# ls -ln iso/
total 21851272
-rw-r--r-- 1 65534 65534  820611072 Apr 12  2023 AdobePro_2020.iso
-rw-r--r-- 1     0     0 1514835968 Nov 26  2025 
proxmox-backup-server_4.1-1.iso
----------------------------------------------------------------------

*** Environment Info ***
- Server OS: Debian 12 (Bookworm)
- NFS-Ganesha Server Version: 9.6
- Working Client Combo: Kernel 7.0 with Ganesha 5.9
- Failing Client Combo: Kernel 6.12 / 7.x with Ganesha 9.6
- Protocol: NFSv4

It seems there is a regression or strict compatibility issue regarding
how NFSv4 numeric IDs or text-based attributes (user@domain) are
negotiated between NFS-Ganesha 9.6 and newer Linux kernel NFS clients.

Thank you for your help maintaining the package.