Subject: misc/4108: /etc/mtree/special doesn't match /etc/mtree/NetBSD.dist
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jonb@metronet.com>
List: netbsd-bugs
Date: 09/12/1997 21:20:51
>Number: 4108
>Category: misc
>Synopsis: mtree permissions, owners, and groups wrong
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 12 19:20:01 1997
>Last-Modified:
>Originator: Jon Buller
>Organization:
>Release: Sept 7, 1997
>Environment:
System: NetBSD bullbox 1.2G NetBSD 1.2G (BULLBOX) #0: Sat Aug 23 13:19:54 CDT 1997 jonb@bullbox:/home/jonb/src/sys/arch/pc532/compile/BULLBOX pc532
>Description:
make install sets several directory attributes to make /etc/security
complain every day. I finally got tired of it enough to do something
about it...
>How-To-Repeat:
type "cd /usr/src; make install"
notice /etc/security pump out complaints about /usr/src, /var/at, and
/usr/games/hide having wrong owners, groups, or permissions
>Fix:
*** NetBSD.dist Fri Sep 12 14:23:25 1997
--- NetBSD.dist.orig Mon Sep 8 22:16:09 1997
***************
*** 328,334 ****
..
# ./usr/obj XXX
! obj gname=wsrc mode=0775
# ./usr/obj XXX
..
--- 328,334 ----
..
# ./usr/obj XXX
! obj
# ./usr/obj XXX
..
***************
*** 1617,1623 ****
..
# ./usr/src
! src gname=wsrc mode=0775 ignore
# ./usr/src
..
--- 1617,1623 ----
..
# ./usr/src
! src ignore
# ./usr/src
..
*** special Fri Sep 12 14:16:29 1997
--- special.orig Fri Sep 12 13:55:03 1997
***************
*** 97,103 ****
.. #usr/sbin
share type=dir mode=0755 uname=root gname=wheel ignore
.. #usr/share
! src type=dir mode=0775 uname=root gname=wsrc ignore
.. #usr/src
.. #usr
--- 97,103 ----
.. #usr/sbin
share type=dir mode=0755 uname=root gname=wheel ignore
.. #usr/share
! src type=dir mode=0755 uname=root gname=wheel ignore
.. #usr/src
.. #usr
***************
*** 105,111 ****
account type=dir mode=0755 uname=root gname=wheel
acct type=file mode=0644 uname=root gname=wheel optional
.. #var/account
! at type=dir mode=0755 uname=root gname=daemon ignore
.. #var/at
backups type=dir mode=0755 uname=root gname=wheel ignore
.. #var/backups
--- 105,111 ----
account type=dir mode=0755 uname=root gname=wheel
acct type=file mode=0644 uname=root gname=wheel optional
.. #var/account
! at type=dir mode=0755 uname=root gname=wheel ignore
.. #var/at
backups type=dir mode=0755 uname=root gname=wheel ignore
.. #var/backups
*** 4.4BSD.usr Fri Sep 12 14:00:58 1997
--- 4.4BSD.usr.orig Fri Sep 12 13:58:01 1997
***************
*** 11,17 ****
# ./.src
/set type=file gname=sww uname=sww mode=02775
! .src type=dir uname=root gname=wsrc mode=0775
# ./.src
..
--- 11,17 ----
# ./.src
/set type=file gname=sww uname=sww mode=02775
! .src type=dir uname=root gname=wheel mode=0755
# ./.src
..
>Audit-Trail:
>Unformatted: