Article View: comp.sys.next.bugs
Article #41Re: ownership of /bin/df and /etc/mtab
From: Eric Noyau
Date: Fri, 08 Jan 1993 08:24
Date: Fri, 08 Jan 1993 08:24
36 lines
1792 bytes
1792 bytes
In article <C0I2qE.Gn2@ccu.umanitoba.ca> grdetil@scrc.umanitoba.ca (Gilles
Detillieux) writes:
> In article <1993Jan6.064038.6744@proximus.north.de> gemoe@proximus.north.de
> (Gerhard Moeller) writes:
> > Well, maybe it's my fault, but I wonder why the permissions of mtab and df
> > are not right set, since 3.0:
> >
> > -rwxr-sr-x 1 root operator 6692 Jul 21 17:40 /bin/df*
> > -rw-r----- 1 root wheel 81 Jan 5 15:44 /etc/mtab
> >
> > With permissions like that only root and wheel are able to execute df.
> > (Very bad for news, as rnews needs df.)
> >
> > The question: Is is my fault and which group is wrong set?
>
> Well, without laying any blame, /etc/mtab usually is world-readable.
> (i.e. mode 664 or 644)
>
> The owner and group assignments are the same as on my NeXT.
>
Workspace do "chmod 640 /etc/mtab" sometimes...(when you insert/eject a disk?)
fix : modify your crontab.local and add
[...]
02,17,32,47 * * * * root /bin/chmod 644 /etc/mtab
[...]
It's ugly...
Eric
--
(Eric Noyau - e_noyau@cubx.com - (Small)NeXTMail Ok) /R{rand 2147483647
div mul}def 1 1 90{pop dup gsave/Helvetica findfont 40 R scalefont setfont
500 R 800 R moveto 360 R rotate 1 R setgray show grestore}for pop showpage
% A bug can be changed to a feature by documenting it. Developpers know! %
Technical Details
Message-ID:
<1993Jan8.082445.8580@pelane.cubx.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!tfd!afp!gna!calva!gamb.fdn.org!cubx!pelane!noyauReferences:
<C0I2qE.Gn2@ccu.umanitoba.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.bugs Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!tfd!afp!gna!calva!gamb.fdn.org!cubx!pelane!noyau From: noyau@pelane.cubx.com (Eric Noyau) Subject: Re: ownership of /bin/df and /etc/mtab Message-ID: <1993Jan8.082445.8580@pelane.cubx.com> Sender: noyau@pelane.cubx.com Reply-To: e_noyau@cubx.com Organization: Cub'X systemes References: <C0I2qE.Gn2@ccu.umanitoba.ca> Date: Fri, 8 Jan 1993 08:24:45 GMT Lines: 36