Hello, there is a strange permission problem with a NFS share on my system. Somehow, it is not recognized that my user "markus" is in the group "wir", when I do changes on a NFS mount. If I do the changes local on the server, everything is fine... Let me go into the details:
That's "me" on the server: mar...@server:~$ echo $UID 1000 mar...@server:~$ groups markus adm mail dialout cdrom floppy audio www-data src video plugdev users fuse wir mar...@server:~$ grep markus /etc/passwd /etc/group /etc/passwd:markus:x:1000:1000:Markus Grunwald,,,:/home/markus:/bin/bash /etc/group:markus:x:1000: /etc/group:wir:x:1008:markus,bibi An that's "me" on the nfs client: mar...@haktar % echo $UID 1000 mar...@haktar % groups markus dialout cdrom floppy audio dip src video plugdev games netdev powerdev scanner fuse nvram smbusers wir mar...@haktar % grep markus /etc/passwd /etc/group /etc/passwd:markus:x:1000:1000:markus,,,:/home/markus:/bin/zsh /etc/group:markus:x:1000: /etc/group:wir:x:1008:markus,bibi So everything matches. The nfs share is exported like this on server: mar...@server:~$ grep media /etc/exports /srv/share/media 192.168.0.0/16(sync,rw,no_root_squash,no_subtree_check) On the client, it is mounted with the automounter: mar...@haktar % mount | grep /srv/share/media server:/srv/share/media on /var/autofs/net/server/srv/share/media type nfs (rw,nosuid,nodev,hard,intr,sloppy,addr=192.168.178.21) This is the data I want to change, as seen on the server: mar...@server$ pwd /srv/share/media/pictures/Originale mar...@server$ ls -ld 2009-08-29_1251536114/ drwxrwx--- 2 markus wir 4096 29. Aug 10:58 2009-08-29_1251536114/ mar...@server:$ ls -ldn 2009-08-29_1251536114/ drwxrwx--- 2 1000 1008 4096 29. Aug 10:58 2009-08-29_1251536114/ mar...@server:$ ls -l 2009-08-29_1251536114/dsc08183.jpg -rw------- 1 markus markus 2349369 29. Aug 10:55 2009-08-29_1251536114/dsc08183.jpg mar...@server:$ ls -ln 2009-08-29_1251536114/dsc08183.jpg -rw------- 1 1000 1000 2349369 29. Aug 10:55 2009-08-29_1251536114/dsc08183.jpg Now I want to change the ownership of the jpg file, on the client: mar...@haktar % chown markus.wir dsc08183.jpg chown: changing ownership of `dsc08183.jpg': Operation not permitted Hmm. On the sever: mar...@server:$ chown markus.wir dsc08183.jpg mar...@server:$ echo $? 0 mar...@server:$ ls -l dsc08183.jpg -rw------- 1 markus wir 2349369 29. Aug 10:55 dsc08183.jpg mar...@server:$ ls -ln dsc08183.jpg -rw------- 1 1000 1008 2349369 29. Aug 10:55 dsc08183.jpg I was working with nfs for years, but I have not the slightest idea what the problem is here... Could you please help me? -- Markus Grunwald http://the-grue.de Registered Linux User Nr 101577 http://counter.li.org gpg/pgp fingerprint: 7E01F5FE15CEDD0A (gpg --recv-keys 7E01F5FE15CEDD0A) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org