Date: Wed, 23 Oct 1996 21:20:30 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: sja@tekla.fi (Sakari Jalovaara) Cc: freebsd-bugs@freebsd.org Subject: Re: kern/1336 Message-ID: <199610231920.VAA26729@uriah.heep.sax.de> In-Reply-To: <9610231122.AA29064@poveri.tekla.fi> from Sakari Jalovaara at "Oct 23, 96 02:22:31 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Sakari Jalovaara wrote: > Perhaps make mount(8) warn if the permissions of a mount point > are unreasonable? Nice both for new sysadmins and old farts > who think they can't make such mistakes. > > if ((mount_point_stat.st_mode & 0555) != 0555) > warn("rtfm \"man 8 mount\""); Btw., st_mode & 0111 is sufficient. Perhaps it should use syslog() instead of warn (though there are also problems during the early stages of the boot process when syslogd is not yet running). Unless somebody yells and promises to fix the root of the evil inside the kernel, i'm considering this change some day. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610231920.VAA26729>