home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / sysadmin / 6315 < prev    next >
Encoding:
Text File  |  1992-11-06  |  923 b   |  28 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!caen!uwm.edu!ux1.cso.uiuc.edu!jeffo
  3. From: jeffo@ux1.cso.uiuc.edu (J.B. Nicholson-Owens)
  4. Subject: /etc/mtab mode change with dismount
  5. Message-ID: <Bx9rBD.F2E@ux1.cso.uiuc.edu>
  6. Reply-To: jeffo@uiuc.edu
  7. Organization: University of Illinois at Urbana
  8. Date: Fri, 6 Nov 1992 00:42:35 GMT
  9. Lines: 17
  10.  
  11. What is the correct way to keep the mode of /etc/mtab from changing to
  12. root-only read and write when a volume is unmounted?  I inserted and
  13. ejected a floppy disk on my 3.0 Cube and it changed the mode of
  14. /etc/mtab so that nobody but root can use df(1) (the 'df' command).
  15.  
  16. On a related note, is the fix for this to make df(1) setuid root?  I'm
  17. hesitant to do that, but if that's the only way to fix this problem...
  18.  
  19. And lastly, on a clean 3.0 system, what is the output of the following
  20. command?:
  21.  
  22. ls -lg /bin/df /etc/mtab
  23.  
  24. Thanks.
  25. -- 
  26. -- Jeff (jeffo@uiuc.edu)
  27. -- NeXTmail ok
  28.