Date: Sun, 20 Oct 2002 00:35:14 +0200 From: Alex <freebsd@akruijff.dds.nl> To: Hanspeter Roth <hanspeter_roth@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: /dev/* permissions Message-ID: <321244779.20021020003514@dds.nl> In-Reply-To: <20021020002244.A15892@snoopy.cablecom.ch> References: <20021020002244.A15892@snoopy.cablecom.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?321244779.20021020003514>