Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!ll-xn!ames!ucla-cs!tamir From: tamir@ucla-cs.UUCP Newsgroups: comp.unix.wizards Subject: NFS strangeness on Suns Message-ID: <6770@shemp.UCLA.EDU> Date: Sat, 20-Jun-87 00:04:41 EDT Article-I.D.: shemp.6770 Posted: Sat Jun 20 00:04:41 1987 Date-Received: Sun, 21-Jun-87 01:02:47 EDT Sender: root@CS.UCLA.EDU Reply-To: tamir@CS.UCLA.EDU (Yuval Tamir) Distribution: world Organization: UCLA Computer Science Department Lines: 37 You have two Suns: sun1 and sun2. Your home directory is on sun1. sun1 is exporting the file system containing your home directory on sun2. Login to sun1 and run % echo this is a test > foo % chmod 600 foo Logout of sun1. Login to sun2. Don't touch file foo. su to root. % su Run # cat foo You will get cat: read error: Permission denied since with an access from a remote root sun1 maps the uid from 0 to -2 (as documented). Now, exit from the root shell # exit Run (you are still on sun2) % cat foo You will get cat: read error: Permission denied So, you are not allowed to read your own file. Apparently there is some caching of "credentials" going on. Obviously it does not work very well . . . Yuval Tamir Internet: tamir@cs.ucla.edu UUCP: ...!{ihnp4,ucbvax,sdcrdcf,trwspp,randvax,ism780}!ucla-cs!tamir