Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!cs.utexas.edu!sun-barr!newstop!east!hinode!geoff From: geoff@hinode.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) Newsgroups: comp.protocols.nfs Subject: Re: PC-NFS permissions Message-ID: <648@east.East.Sun.COM> Date: 31 Jul 89 19:42:07 GMT References: <13415340TDD@MSU> Sender: news@east.East.Sun.COM Reply-To: geoff@hinode.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) Organization: Sun Microsystems, Billerica MA Lines: 21 In article <13415340TDD@MSU> 15340TDD@MSU.BITNET (Tom Davis) writes: >Another PC-NFS question... I have a file system "mounted" with PC-NFS and >I am having difficulty "touching" a file from the PC. If I have OWNER >privileges on the file it works fine, but if I have GROUP privileges on >the file it fails! I have group privileges to the directory in both cases. >What gives?? This seems to be an artefact of the NFS server implementation. When you issue a SetAttributes call the server checks to see if you are the owner of the file; if you are not, and you are trying to change certain key attributes, the call is rejected. We ran into this when fixing a bug (NOT fixed in 3.0.1) when a non-owner was trying to shrink a file. PC-NFS issues a SetAttributes with the new file size, but incorrectly includes the permission bits in the settable attributes structure. The NFS server rejects the whole request and the file doesn't shrink. Geoff Geoff Arnold, Internet: garnold@East.Sun.COM Manager, PC-NFS Engineering UUCP: ....!sun!East!garnold PCDS Group, Sun Microsystems Inc.