🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1163

/etc/mtab mode change with dismount

#1163
From: J.B. Nicholson-Owens
Date: Fri, 06 Nov 1992 00:42
17 lines
950 bytes
What is the correct way to keep the mode of /etc/mtab from changing to
root-only read and write when a volume is unmounted?  I inserted and
ejected a floppy disk on my 3.0 Cube and it changed the mode of
/etc/mtab so that nobody but root can use df(1) (the 'df' command).

On a related note, is the fix for this to make df(1) setuid root?  I'm
hesitant to do that, but if that's the only way to fix this problem...

And lastly, on a clean 3.0 system, what is the output of the following
command?:

ls -lg /bin/df /etc/mtab

Thanks.
-- 
-- Jeff (jeffo@uiuc.edu)
-- NeXTmail ok
Technical Details
Message-ID: <Bx9rBD.F2E@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!uwm.edu!ux1.cso.uiuc.edu!jeffo

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!uwm.edu!ux1.cso.uiuc.edu!jeffo
From: jeffo@ux1.cso.uiuc.edu (J.B. Nicholson-Owens)
Subject: /etc/mtab mode change with dismount
Message-ID: <Bx9rBD.F2E@ux1.cso.uiuc.edu>
Reply-To: jeffo@uiuc.edu
Organization: University of Illinois at Urbana
Date: Fri, 6 Nov 1992 00:42:35 GMT
Lines: 17