From owner-freebsd-questions@FreeBSD.ORG Thu Mar 14 13:08:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0C38FA0E for ; Thu, 14 Mar 2013 13:08:34 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C481BAF0 for ; Thu, 14 Mar 2013 13:08:33 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r2ED8NVu080013; Thu, 14 Mar 2013 07:08:23 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r2ED8NiX080010; Thu, 14 Mar 2013 07:08:23 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 14 Mar 2013 07:08:23 -0600 (MDT) From: Warren Block To: Polytropon Subject: Re: Port devel/arduino serial port problems [SOLVED] In-Reply-To: <20130314133348.fdbdc755.freebsd@edvax.de> Message-ID: References: <5140F60B.20106@qeng-ho.org> <51418ED6.7000400@qeng-ho.org> <20130314133348.fdbdc755.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 14 Mar 2013 07:08:23 -0600 (MDT) Cc: Arthur Chance , FreeBSD-Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 13:08:34 -0000 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