Date: Mon, 04 Jul 2011 16:11:28 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: zeus@ibs.dn.ua Cc: freebsd-usb@FreeBSD.org Subject: Re: /dev/ugen*.* modes Message-ID: <4E11BC00.5010502@FreeBSD.org> In-Reply-To: <20110704062525.GD55948@relay.ibs.dn.ua>
index | next in thread | previous in thread | raw e-mail
on 04/07/2011 09:25 Zeus V Panchenko said the following: > Hi, > > how can i set /dev/ugen*.* mode and owner to allow not root to r/w > the device? > > when i plug my photo camera i have to change the mode 666 to access it > ... > > i was trying it in /etc/devfs.conf: > > own ugen0.1 zeus:staff > own ugen0.2 zeus:staff > ... > own ugen2.4 zeus:staff > > perm ugen0.1 0660 > perm ugen0.2 0660 > ... > perm ugen2.4 0660 > > and after device plugged in, the owner changes to toor:operator ... > You have to use devfs.rules(5) for dynamically attaching devices. -- Andriy Gaponhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E11BC00.5010502>
