Dexter Filmore wrote: > On Sunday 09 September 2007 21:45:58 James G. Sack (jim) wrote: >> Dexter Filmore wrote: >>> This just came out of thin air: I wanted to cd into this dir: >>> >>> drwxrwx--- 23 root schrcknt 4096 2007-04-13 16:19 other >>> >>> and got a "permission denied" error. >>> >>> The group ids of schrcknt match on server and client, I am in that group >>> still can't dive. As root all fine. >>> It's been working just fine and I don't remember changing anything. >>> Pointers? >> Maybe you could post the output of >> mount -v | grep other >> and >> id >> > > fstab mount options on client: > xerxes:/mnt/data/other on /mnt/xerxes/other type nfs > (rw,wsize=8192,rsize=8192,intr,soft,timeo=20,addr=192.168.0.2) > > Serverside (Slackware 11): > uid=1000(dexter) gid=100(users) Gruppen=6(disk),11(floppy),18(video),100 > (users),102(audio),105(antivir),120(schrcknt) > > Clientside (Kubuntu 7.04): > uid=1000(dexter) gid=1000(dexter) Gruppen=4(adm),6(disk),20(dialout),24 > (cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),100(users),104 > (scanner),112(netdev),113(lpadmin),115(powerdev),117(fuse),118(admin),120 > (schrcknt),1000(dexter),1001(vboxusers) > > >> just so we could get a better feel for the situation? >> >> I can't recall whether nfsstat -c gives anything useful, but you might >> read man nfsstat, and play with it. >> > > nfsstat beats me, if you can get anything useful out of this I'm all ears.
well, it does show you are using V3 (and not V4), and there have been some protocol communications but no reads or writes. Not that that really adds anything, though. >.. >> If you have access to the logfiles on the server, there might be clues >> there. >> > For reasons beyond me nfsd has no logs. Will check scripts. Might be in /var/log/messages? > > I chgrp'ed to "users" on the sever and it worked on the spot. Changed > back - !perm. Are you saying you changed the group owner of the shared dir to users, and then access from your client started working? That's maybe an "aha!" Could dexter's client(Kubuntu) group membership in schrcknt have been created after the dexter login on that client? For some reason, such group memberships do not seem to be automatically seen/honored until the next login. You might be able to test that by issuing a newgrp command on the client, and then seeing if you get access. newgrp schrcknt id (id should now report the first gid as schrcknt) > What's really odd is that I can't remember changing anything here and this > setup has been working for months. > It-worked-the-other-day classic. > Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
