Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 13:43:49 -0500
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        freebsd-usb@freebsd.org
Subject:   Re: Changing permissions of /dev/usb[n] to 664?
Message-ID:  <20041107184349.GA82359@crodrigues.org>
In-Reply-To: <20041107190937.13777739@Magellan.Leidinger.net>
References:  <20041107064227.GA79915@crodrigues.org> <418DC94E.3010003@elischer.org> <20041107161605.GA81779@crodrigues.org> <20041107190937.13777739@Magellan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 07, 2004 at 07:09:37PM +0100, Alexander Leidinger wrote:
> Can it be used to read data which may not readable without this change
> (e.g. can you access umass devices via usb[n])?

No, umass devices show up in /dev as
/dev/da[n] for disks and USB keys, /dev/cd[n] for CD-ROMs.
The permissions on these devices are independent of
the permissions on /dev/usb.

These are the permissiosn when I plug in my USB key:

crw-rw-r--  1 root  operator  241, 255 Nov  5 15:38 /dev/usb
crw-rw-r--  1 root  operator  241,   0 Nov  5 15:38 /dev/usb0
crw-rw-r--  1 root  operator  241,   1 Nov  5 15:38 /dev/usb1
crw-rw-r--  1 root  operator  241,   2 Nov  5 15:38 /dev/usb2
crw-r-----  1 root  operator  229,  17 Nov  5 15:38 /dev/da0
crw-r-----  1 root  operator  229,  19 Nov  5 15:38 /dev/da0a
crw-r-----  1 root  operator  229,  20 Nov  5 15:38 /dev/da0c
crw-r-----  1 root  operator  229,  18 Nov  5 15:38 /dev/da0s1




-- 
Craig Rodrigues        
http://crodrigues.org
rodrigc@crodrigues.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041107184349.GA82359>