Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2006 02:35:56 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Jonathan Horne <freebsd@dfwlp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: working with dbsd-tools
Message-ID:  <20060813233556.GA16265@gothmog.pc>
In-Reply-To: <200608131830.37010.freebsd@dfwlp.com>
References:  <200608131830.37010.freebsd@dfwlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-08-13 18:30, Jonathan Horne <freebsd@dfwlp.com> wrote:
> i almost have desktopbsd tools working perfectly... except that
> i cannot mount usb drives without opening a terminal as root,
> and chmoding /dev/da* to 660.
>
> how can i cause new devices (such as da*) to be created with
> proper permissions to let me mount it without becomming root to
> do so?  ive already set up my devd.conf, and cdrom is working
> (but that one doesnt disappear/reappear like usb devices do).

You can use devfs.rules for this.  The manpage has an example
that is probably pretty close to what you need:

    [localrules=10]
    add path 'da*s*' mode 0660 group usb




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