From nobody@FreeBSD.org  Fri May 11 02:59:06 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id EFA6B37B423
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 May 2001 02:59:05 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f4B9x5g58754;
	Fri, 11 May 2001 02:59:05 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200105110959.f4B9x5g58754@freefall.freebsd.org>
Date: Fri, 11 May 2001 02:59:05 -0700 (PDT)
From: a@b.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: binary upgrade to 4.3R doesn't preserve device permissions
X-Send-Pr-Version: www-1.0

>Number:         27265
>Category:       misc
>Synopsis:       binary upgrade to 4.3R doesn't preserve device permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 11 03:00:05 PDT 2001
>Closed-Date:    Thu May 31 19:25:05 PDT 2001
>Last-Modified:  Thu May 31 19:25:21 PDT 2001
>Originator:     christian
>Release:        4.3-RELEASE
>Organization:
>Environment:
FreeBSD hp0.pacbell.net 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Mon Apr 30 12:47:33 PDT 2001     root@hp0.pacbell.net:/usr/src/sys/compile/HP9780C-LITE  i386
>Description:
the permissions on /dev/bpf* were reset when i used sysinstall
to do a binary upgrade from 4.2R to 4.3R.

i like to have them set to g+r so i don't have to run everything
as root.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: a@b.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/27265: binary upgrade to 4.3R doesn't preserve device permissions
Date: Mon, 14 May 2001 16:43:03 -0700

 --aVD9QWMuhilNxW9f
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Fri, May 11, 2001 at 02:59:05AM -0700, a@b.com wrote:
 >=20
 > >Number:         27265
 > >Category:       misc
 > >Synopsis:       binary upgrade to 4.3R doesn't preserve device permissio=
 ns
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:       =20
 > >Keywords:      =20
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Fri May 11 03:00:05 PDT 2001
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     christian
 > >Release:        4.3-RELEASE
 > >Organization:
 > >Environment:
 > FreeBSD hp0.pacbell.net 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Mon Apr 30 12=
 :47:33 PDT 2001     root@hp0.pacbell.net:/usr/src/sys/compile/HP9780C-LITE =
  i386
 > >Description:
 > the permissions on /dev/bpf* were reset when i used sysinstall
 > to do a binary upgrade from 4.2R to 4.3R.
 >=20
 > i like to have them set to g+r so i don't have to run everything
 > as root.
 
 Yes, this is as expected.  The upgrade procedure needs to remake the
 devices to deal with device nodeswhich have changed, as well as adding
 new ones.  There's no easy way for it to know that you made a local
 customization which you want to be maintainer after the upgrade.
 
 Perhaps what you really want here is fbtab(5), or a local
 customization script which you can use to customize device
 permissions.
 
 Kris
 
 --aVD9QWMuhilNxW9f
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.5 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE7AG2GWry0BWjoQKURAjqyAKD+byE0Yo/fHwHmjdB3MOeKi6sr1ACgqS3/
 SbuA+qM+bncUr9xAxfVjHN8=
 =zU6I
 -----END PGP SIGNATURE-----
 
 --aVD9QWMuhilNxW9f--
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Thu May 31 19:25:05 PDT 2001 
State-Changed-Why:  
This is expected behavior. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27265 
>Unformatted:
