[comp.unix.wizards] HELP WANTED: NFS problem

pavlov@hscfvax.harvard.edu (G.Pavlov) (02/15/89)

 We are using a MIPS M/120-5 as a file server (in addition to other tasks) to
 two uVAX II's: all user directories are located on a partition on one of the
 MIPS's disks, NFS'd to the uVAXen.  We have encountered a problem with which 
 I would appreciate some assistance.

 When a file is created while logged into a uVAX, the user's umask is applied.
 However, whenever a file is over/rewritten, the file permission is reset (to
 4777 if user != root, same but with sticky bit set if root).  Also, we have 
 noticed that the total space usage reported by ls -l (as well as du) for a 
 directory is incorrect and we have not been able to discover any algorithm 
 that would point at what is being reported.

 NFS between the uVAXen works fine.  File copies and space utilization repor-
 ting works correctly when on the MIPS.

 The uVAXen are running under Ultrix (2.?) and the MIPS is running under MIPS'
 variant of SYS 5.

 I have searched through all the man pages I can think of....

 many thanks, greg pavlov, fstrf, amherst, ny

consult@osiris.UUCP (Unix Consultation Mailbox ) (02/17/89)

In article <725@hscfvax.harvard.edu> pavlov@hscfvax.harvard.edu (G.Pavlov) writes:
> However, whenever a file is over/rewritten, the file permission is reset
> (to 4777 if user != root, same but with sticky bit set if root)....

Boy, this sounds kinda familiar... we are running NFS between Sun 3s and
Pyramid 9820s, and I frequently see directories with mode 3755 (sticky,
set group).  Also, files always seem to be created with the execute mode
bits on, especially when they're not being created by ld.  Anyone who
wants to take a stab at Greg's posting might want to try explaining it to
me, too; mail if you can, but post if you must.


                                                                 Phil Kos
                                                      Information Systems
...!uunet!pyrdc!osiris!phil                    The Johns Hopkins Hospital
                                                            Baltimore, MD