Path: utzoo!utgpu!watmath!att!bellcore!rutgers!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!helens!relgyro!mike From: mike@relgyro.stanford.edu (Mike Macgirvin) Newsgroups: comp.protocols.nfs Subject: Re: PC-NFS permissions Message-ID: <321@helens.Stanford.EDU> Date: 8 Aug 89 16:43:00 GMT References: <13415340TDD@MSU> <648@east.East.Sun.COM> Sender: news@helens.STANFORD.EDU Reply-To: mike@relgyro.STANFORD.EDU (Mike Macgirvin) Organization: Stanford Relativity Gyro Experiment (GP-B) Lines: 37 In article <648@east.East.Sun.COM> geoff@hinode.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) writes: >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. > >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 >Geoff Arnold, Internet: garnold@East.Sun.COM >Manager, PC-NFS Engineering UUCP: ....!sun!East!garnold >PCDS Group, Sun Microsystems Inc. With all respects, Geoff, I think Mr. Davis might just be talking about the 'one GID' problem with PC-NFS. PC-NFS, at least to 3.0, only allows you to be a member of ONE group, which is the one in your passwd file on the server. Touching files with which you have group access under Unix, cannot be done under DOS if they are not your default group. I was told by Mr. Arnold (several months ago) that this would be fixed in a future PC-NFS release, using YP maps to bring the full spectrum of Unix groups into the PC's domain. I have patched an earlier release of the 'pcnfsd.c' authentication daemon to allow one to 'login' to a given group to which he/she has access, so that they can use the files which they can use under Unix. I might be able to send someone the hacked up version, but it still is a contorted solution, which still allows only ONE group, but it can be any group you belong to, and you can 'login' again to change groups. /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + These views are my own, and my facts may not be correct. + + Mike Macgirvin + + - Systems Administrator Stanford Relativity Gyroscope Experiment (GP-B) + + - Internet: mike@relgyro.stanford.edu (36.64.0.50) + + - Bitnet: mike%relgyro.stanford.edu@stanford + + - Uucp: uunet!relgyro.stanford.edu!mike + + "'Scuse me, while I kiss the sky" - Robert James Marshall (Jimi) Hendrix + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/