Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2010 16:32:12 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        Marco Beishuizen <mbeis@xs4all.nl>, freebsd-questions@freebsd.org
Subject:   Re: Using a scanner (USB) as user and not as root
Message-ID:  <alpine.BSF.2.00.1004291626070.26287@wonkity.com>
In-Reply-To: <20100429220902.GA13539@slackbox.erewhon.net>
References:  <alpine.BSF.2.00.1004281939070.3115@yokozuna.lan> <20100428182223.GA34355@slackbox.erewhon.net> <alpine.BSF.2.00.1004282057490.3115@yokozuna.lan> <alpine.BSF.2.00.1004281310520.23838@wonkity.com> <alpine.BSF.2.00.1004292210410.2406@yokozuna.lan> <alpine.BSF.2.00.1004291437530.25778@wonkity.com> <alpine.BSF.2.00.1004292247440.2406@yokozuna.lan> <alpine.BSF.2.00.1004291505280.25778@wonkity.com> <20100429220902.GA13539@slackbox.erewhon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Apr 2010, Roland Smith wrote:
> On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote:
>>
>> One other difference I found in my /etc/devfs.rules:
>>
>> add path 'ugen*' mode 0660 group operator
>> add path 'usb/*' mode 0770 group operator
>
> Mode 0660 should be sufficient.

Just tried, and you're right, it is.

> Just make sure there is a newline at the end of the last rule! 
> Otherwise the shell script that processes them will not see them.

Seems like it ought to append a newline to devfs.rules before processing 
to avoid that type of surprise.

-Warren Block * Rapid City, South Dakota USA



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