From owner-freebsd-bugs Mon May 14 16:50: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6DE1437B422 for ; Mon, 14 May 2001 16:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4ENo2n32599; Mon, 14 May 2001 16:50:02 -0700 (PDT) (envelope-from gnats) Date: Mon, 14 May 2001 16:50:02 -0700 (PDT) Message-Id: <200105142350.f4ENo2n32599@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kris Kennaway Subject: Re: misc/27265: binary upgrade to 4.3R doesn't preserve device permissions Reply-To: Kris Kennaway Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/27265; it has been noted by GNATS. From: Kris Kennaway 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message