Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2013 07:08:23 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        Arthur Chance <freebsd@qeng-ho.org>, FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: Port devel/arduino serial port problems [SOLVED]
Message-ID:  <alpine.BSF.2.00.1303140707220.79879@wonkity.com>
In-Reply-To: <20130314133348.fdbdc755.freebsd@edvax.de>
References:  <5140F60B.20106@qeng-ho.org> <51418ED6.7000400@qeng-ho.org> <20130314133348.fdbdc755.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Mar 2013, Polytropon wrote:

> On Thu, 14 Mar 2013 08:48:22 +0000, Arthur Chance wrote:
>> On 03/13/13 21:56, Arthur Chance wrote:
>>> I'm trying to get devel/arduino working.[snip]
>>
>> I shouldn't work 13 hour days. Now I've had some sleep, I've spotted
>> what I missed last night. The underlying code from comms/rxtx is trying
>> to create a lock file in /var/spool/lock and that is only writeable by
>> user uucp and group dialer. Given that I have absolutely no serial
>> devices (or ports) on this box apart from the Arduino when it's plugged
>> in, can anyone see any problems with making the lock directory world
>> writeable?
>
> Simply add your user (or the account the program is running
> under) to the "dialer" group. This has been a common method
> to allow users to access dialing programs (which were reserved
> for root use without this group addition).

This is also mentioned when the Arduino port is installed:

To allow serial port locking, add your user to the dialer group:
     pw usermod myuser -G dialer




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