Public bug reported: Linux blackboard 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:48:01 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
cjohnson@blackboard:~$ more /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.10 DISTRIB_CODENAME=quantal DISTRIB_DESCRIPTION="Ubuntu 12.10" Summary: chown by root on a nfs4 mounted directory changes the owner to nobody chgroup by root on a nfs4 mounted directory changes the group to nogroup How to duplicate Set up a NFS4 server. # mount -t nfs4 server:cjohnson /home/cjohnson # touch /home/cjohnson/junk # ls -l /home/cjohnson/junk -rw-rw-r-- 1 root root 0 Nov 30 15:36 /home/cjohnson/junk # chown cjohnson.cjohnson /home/cjohnson/junk # ls -l /home/cjohnson/junk -rw-rw-r-- 1 nobody nogroup 0 Nov 30 15:36 /home/cjohnson/junk # rm /home/cjohnson/junk # umount /home/cjohnson # mount server:/home/cjohnson /home/cjohnson # NFS v3 (everything works as it should) This behavior changed on upgrade from 12.04 to 12.10. LDAP is turned off, autofs is turned off but those WERE used prior to this bug being discovered. UIDs and GIDs match on server and client. ** Affects: nfs-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1085196 Title: chown to file on NFS4 changes owner to "nobody" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1085196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs