From owner-freebsd-questions Sat Oct 19 15:35:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 252B137B404 for ; Sat, 19 Oct 2002 15:35:47 -0700 (PDT) Received: from smtp07.wxs.nl (smtp07.wxs.nl [195.121.6.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1BD243E75 for ; Sat, 19 Oct 2002 15:35:45 -0700 (PDT) (envelope-from freebsd@akruijff.dds.nl) Received: from cybertron.kruijff ([213.10.151.186]) by smtp07.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id H492RK00.5PD; Sun, 20 Oct 2002 00:35:44 +0200 Date: Sun, 20 Oct 2002 00:35:14 +0200 From: Alex X-Mailer: The Bat! (v1.53d) Reply-To: freebsd-reply@akruijff.dds.nl X-Priority: 3 (Normal) Message-ID: <321244779.20021020003514@dds.nl> To: Hanspeter Roth Cc: freebsd-questions@freebsd.org Subject: Re: /dev/* permissions In-Reply-To: <20021020002244.A15892@snoopy.cablecom.ch> References: <20021020002244.A15892@snoopy.cablecom.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sunday, October 20, 2002, 12:22:44 AM, you wrote: HR> Hello, HR> it seems to me that after the last upgrade the permission of the HR> devices /dev/* have become more restrictive. /dev/*random and HR> /dev/tty were not accessible by ordinary users. HR> How can I restore the permissions on the devices to `reasonable' HR> values (as they were before the upgrade)? HR> -Hanspeter HR> To Unsubscribe: send mail to majordomo@FreeBSD.org HR> with "unsubscribe freebsd-questions" in the body of the message Dear Hanspeter, This is how it looks for me. crw--w---- 1 alex tty 5, 0 Oct 20 00:31 /dev/ttyp0 crw--w---- 1 root tty 5, 1 Oct 20 00:31 /dev/ttyp1 crw--w---- 1 root tty 5, 2 Oct 20 00:02 /dev/ttyp2 crw--w---- 1 root tty 5, 3 Oct 19 23:48 /dev/ttyp3 crw--w---- 1 root tty 5, 4 Oct 19 23:49 /dev/ttyp4 crw--w---- 1 root tty 5, 5 Oct 20 00:31 /dev/ttyp5 crw-rw-rw- 1 root wheel 5, 6 Oct 19 03:40 /dev/ttyp6 crw-rw-rw- 1 root wheel 5, 7 Oct 19 03:38 /dev/ttyp7 ... snip ... You could as root do: cd /dev MAKEDEV * And all should be fine. If you insist on changing permissions by hand check out: chmod -- Best regards, Alex The FreeBSD handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message