From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 12 07:20:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2984EC74 for ; Tue, 12 Feb 2013 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 19677921 for ; Tue, 12 Feb 2013 07:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1C7K0Hv015776 for ; Tue, 12 Feb 2013 07:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1C7K0gm015773; Tue, 12 Feb 2013 07:20:00 GMT (envelope-from gnats) Date: Tue, 12 Feb 2013 07:20:00 GMT Message-Id: <201302120720.r1C7K0gm015773@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Christoph Mallon Subject: Re: kern/75233: [fdc] breaking fdformat /dev/fd0 resets device permissions and perhaps causes unkillable process X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Christoph Mallon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 07:20:01 -0000 The following reply was made to PR kern/75233; it has been noted by GNATS. From: Christoph Mallon To: John Baldwin Cc: bug-followup@FreeBSD.org Subject: Re: kern/75233: [fdc] breaking fdformat /dev/fd0 resets device permissions and perhaps causes unkillable process Date: Tue, 12 Feb 2013 08:13:16 +0100 On 30.03.2012 16:07, John Baldwin wrote: > You need to use devfs rules for this instead. The /dev/fd0 device can > come and go with media changes. To make permissions on /dev/fd0 > persistent you need to teach devfs (via a rule) to use the desired > permissions on each fd0 device. Quote from the description: > %ls -l /dev/fd0 > crw-r----- 1 root operator 232, 0 16 Dez 21:41 /dev/fd0 > %tail -1 /etc/devfs.conf > perm fd0 0660 ^^^^^^^^^^^^^ Though I haven't used floppy disks in years, I still think there is a bug. Christoph