From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 14:09:54 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 A124F1065677 for ; Tue, 15 Apr 2008 14:09:54 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8DB8FC1E for ; Tue, 15 Apr 2008 14:09:54 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m3FE9kg5008951; Tue, 15 Apr 2008 09:09:47 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080415091009.024d8f30@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 15 Apr 2008 09:11:33 -0500 To: stevefranks@ieee.org, "FreeBSD Mailing List" From: Derek Ragona In-Reply-To: <539c60b90804141739g1f60be46m576bc3fa5ef3580d@mail.gmail.co m> References: <539c60b90804141739g1f60be46m576bc3fa5ef3580d@mail.gmail.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080415-1, 04/15/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.92.1/6780/Tue Apr 15 04:47:04 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m3FE9kg5008951 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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: Tue, 15 Apr 2008 14:09:54 -0000 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. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.