From owner-freebsd-questions@FreeBSD.ORG Thu Mar 14 12:40:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9EA6E5FB for ; Thu, 14 Mar 2013 12:40:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6949C9DD for ; Thu, 14 Mar 2013 12:40:22 +0000 (UTC) Received: from r56.edvax.de (port-92-195-30-57.dynamic.qsc.de [92.195.30.57]) by mx02.qsc.de (Postfix) with ESMTP id 2DBB82762D; Thu, 14 Mar 2013 13:33:42 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r2ECXmQw001882; Thu, 14 Mar 2013 13:33:48 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 14 Mar 2013 13:33:48 +0100 From: Polytropon To: Arthur Chance Subject: Re: Port devel/arduino serial port problems [SOLVED] Message-Id: <20130314133348.fdbdc755.freebsd@edvax.de> In-Reply-To: <51418ED6.7000400@qeng-ho.org> References: <5140F60B.20106@qeng-ho.org> <51418ED6.7000400@qeng-ho.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2013 12:40:22 -0000 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). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...