NetBSD Problem Report #717

From gnats  Sun Jan  8 23:44:05 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id XAA01836 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 8 Jan 1995 23:44:04 -0800
Message-Id: <199501090745.CAA18820@gryps.cyberspace.org>
Date: Mon, 9 Jan 1995 02:45:46 -0500
From: Marc Unangst <mju@gryps.cyberspace.org>
Reply-To: mju@gryps.cyberspace.org
To: gnats-bugs@NetBSD.ORG
Subject: filesystem templates in /etc/mtree are incorrect
X-Send-Pr-Version: 3.2

>Number:         717
>Category:       misc
>Synopsis:       filesystem templates in /etc/mtree are incorrect
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 08 23:50:02 +0000 1995
>Closed-Date:    Wed May 08 21:24:18 +0000 1996
>Last-Modified:  Wed May 08 21:25:04 +0000 1996
>Originator:     Marc Unangst
>Release:        1.0
>Organization:
>Environment:
System: NetBSD gryps.cyberspace.org 1.0 NetBSD 1.0 (GRYPS503) #1: Fri Jan 6 12:28:32 EST 1995 root@gryps.cyberspace.org:/usr/src/sys/arch/i386/compile/GRYPS503 i386


>Description:
	The filesystem templates in /etc/mtree do not match the
distributed filesystem, and conflict with each other.  This limits
their usefulness for ensuring correct permissions in the filesystem,
detection of security breaches, etc.
>How-To-Repeat:
	Run mtree -u with the "special" template to fix known
permission problems.  Then run mtree with the "4.4BSD.dist" template
and notice that it tells you to change some files back to their
original permissions.
>Fix:
	Fix the templates so they don't conflict.  Distribute the
system software with permissions set as described in the mtree
templates.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pk 
State-Changed-When: Wed May 8 17:24:18 EDT 1996 
State-Changed-Why:  
Fixed (mtree/4.4BSD.dist, rev 1.20). 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.