Thread View: comp.sys.next.bugs
3 messages
3 total messages
Started by Gerhard Moeller
Wed, 06 Jan 1993 06:40
ownership of /bin/df and /etc/mtab
Author: Gerhard Moeller
Date: Wed, 06 Jan 1993 06:40
Date: Wed, 06 Jan 1993 06:40
24 lines
1390 bytes
1390 bytes
Hi! 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? Frustrated, Gerhard. (It took me 15 minutes to find my rnews problem... :( ) -- +---------------------------< principiis obsta! >---------------------------+ N Gerhard Moeller, Teichstrasse 12, 2900 Oldenburg (FRG) [*: 02/21/1968] N e Private: gemoe@proximus.north.de Phone (voice): +49-441-75520 e X Uni: Gerhard.Moeller@arbi.Informatik.Uni-Oldenburg.DE NeXTmail X T Z-Net: Gerhard.Moeller@uniol.zer encouraged! T +-> NoGeNUG - Northern German NeXT User Group: NoGeNUG@proximus.north.DE <-+
Re: ownership of /bin/df and /etc/mtab
Author: Gilles Detillieux
Date: Thu, 07 Jan 1993 20:11
Date: Thu, 07 Jan 1993 20:11
23 lines
1463 bytes
1463 bytes
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. -- Gilles Detillieux <Gilles@scrc.UManitoba.CA> Spinal Cord Research Centre or <grdetil@gilles.scrc.UManitoba.CA> Dept. of Physiology, U. of Manitoba Phone: (204)788-6766 Winnipeg, MB R3E 0W3 (Canada) Fax: (204)786-0932
Re: ownership of /bin/df and /etc/mtab
Author: Rex Pruess
Date: Thu, 07 Jan 1993 22:06
Date: Thu, 07 Jan 1993 22:06
17 lines
1443 bytes
1443 bytes
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
Ejecting disks messes up the correct setting of "644" on /etc/mtab. One
way to deal with this problem is to update the mode setting every 30
minutes or so by putting the following line in /etc/crontab.local:
1,31 * * * * root /bin/chmod 644 /etc/mtab
--
----------------------------------------------------------------------------
Rex Pruess, Weeg Computing Center, University of Iowa, Iowa City, IA
NeXTmail: Rex-Pruess@uiowa.edu ......... Phone: (319) 335-5452
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads