From owner-freebsd-current Wed May 24 6:38:32 2000 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 9386737BAC6 for ; Wed, 24 May 2000 06:38:27 -0700 (PDT) (envelope-from SoboMax@FreeBSD.org) Received: from vega.vega.com (dialup6-11.iptelecom.net.ua [212.9.227.75]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id QAA01992; Wed, 24 May 2000 16:10:41 +0300 (EEST) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id OAA89151; Wed, 24 May 2000 14:59:48 +0300 (EEST) (envelope-from SoboMax@FreeBSD.org) Message-ID: <392BC42C.506739D7@FreeBSD.org> Date: Wed, 24 May 2000 14:59:40 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Neil Blakey-Milner Cc: Arun Sharma , FreeBSD Current Subject: Re: Wrong permissions on /dev ? References: <20000521233533.A8104@sharmas.dhs.org> <20000522110158.A38083@mithrandr.moria.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Neil Blakey-Milner wrote: > On Sun 2000-05-21 (23:35), Arun Sharma wrote: > > I upgraded my 4.0-release laptop to 5.0-current today and my xe0 was > > recognized by the driver and everything was great. > > > > There is a minor nit about the permissions on /dev. It was not readable > > by others. So ps wouldn't work, because it could not open /dev/null. > > 'make world' doesn't (or at least, it shouldn't) touch permissions (or > anything else) on /dev. Or was this a snapshot binary install? Make installworld (as an integral part of make world) *does* touch a permissions, since it uses mtree to generate directory structure. Therefore, mtree will change permissions of /dev as well as others dirs listed in its specs if they doesn't match with the specs. I've stuck in this feature several times when making installworld on machine with /tmp from other machine mounted over NFS into /mnt - as a result /tmp on the other machine lost its magic 1777 and received 755 instead. For quite some time I was curious why did it happen until found a correlation between these two events. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message