SUMMARY: COPS warning! /etc/mtab World writable

From: Anchi Zhang (
Date: Thu Nov 17 1994 - 00:03:40 CST

My original posting:

 COPS warns that my /etc/mtab is world writable. If I change the
 permissions of the file to 644, a reboot will set them back to 666.
 Command 'egrep "umask|mtab" /etc/*' reveals nothing suspicious.

 On a Sparc SunOS 4.1.3 machine, what sets /etc/mtab's permissions
 during boot?

Many thanks to (Dan Lorenzini)
 "Ralph C. Wolman" <> (Einar Indridason) (Olav Lerbrekk) (Yehuda Bamnolker)
 james mularadelis <>
 Ric Anderson <ric@Artisoft.COM> (Mattias Zhabinskiy 203-929-8810x251)
 Tom Orban <>
 pamela@jupiter.Legato.COM (Pamela Pledger)
 Kambiz Aghaiepour <kxaghai@srv.PacBell.COM> (Markus Buchhorn)

whose replies promted me to sandwich various statements by two
"ls -lg /etc/mtab >/dev/console" in /etc/rc* so as to determine
it was "quotaon -a" in /etc/rc that reset /etc/mtab's permissions
according to the value of umask. I have no idea why quotaon
would do such thing.


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:15 CDT