From owner-freebsd-questions@FreeBSD.ORG Thu Apr 17 12:01:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DDDB1065679 for ; Thu, 17 Apr 2008 12:01:59 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (ei.bzerk.org [82.95.223.12]) by mx1.freebsd.org (Postfix) with ESMTP id 8EA5B8FC2F for ; Thu, 17 Apr 2008 12:01:58 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.8/8.13.8) with ESMTP id m3HBob69034039; Thu, 17 Apr 2008 13:50:37 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.8/8.13.8/Submit) id m3HBoa2K034038; Thu, 17 Apr 2008 13:50:36 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Thu, 17 Apr 2008 13:50:36 +0200 From: Ruben de Groot To: Derek Ragona Message-ID: <20080417115036.GA33974@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Derek Ragona , stevefranks@ieee.org, FreeBSD Mailing List References: <539c60b90804141739g1f60be46m576bc3fa5ef3580d@mail.gmail.com> <6.0.0.22.2.20080415091009.024d8f30@mail.computinginnovations.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20080415091009.024d8f30@mail.computinginnovations.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_53 autolearn=no version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ei.bzerk.org [127.0.0.1]); Thu, 17 Apr 2008 13:51:40 +0200 (CEST) Cc: stevefranks@ieee.org, FreeBSD Mailing List Subject: Re: cutecom requires sudo to work, but minicom works without - permissions? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 12:01:59 -0000 On Tue, Apr 15, 2008 at 09:11:33AM -0500, Derek Ragona typed: > At 07:39 PM 4/14/2008, Steve Franks wrote: > >I have two terminal programs - cutecom and minicom, both built from > >ports with no tweaks. Minicom will fire up and hit the serial port > >just fine, but cutecom can't open it except with sudo. I tried > >tweaking devfs.conf (as well as a straight chmod on /dev/cuad0), and > >it doesn't seem to rectify the problem. I've also got several linux > >ports that hit usb devices via libusb that won't connect without sudo > >- obviously, I'd like not to have to run user-type apps with sudo on > >my system.... > > > >Thanks, > >Steve > > You may want to try chown the device as well as chmod'ing it. If this > works you will likely need a script to reset these settings on reboot. You > can add a cron job under root to do this @reboot. A more convenient option is putting the user who starts whateven terminal program into the "dialers" group Ruben