Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 09:11:33 -0500
From:      Derek Ragona <derek@computinginnovations.com>
To:        stevefranks@ieee.org, "FreeBSD Mailing List" <freebsd-questions@freebsd.org>
Subject:   Re: cutecom requires sudo to work, but minicom works without - permissions?
Message-ID:  <6.0.0.22.2.20080415091009.024d8f30@mail.computinginnovations.com>
In-Reply-To: <539c60b90804141739g1f60be46m576bc3fa5ef3580d@mail.gmail.co m>
References:  <539c60b90804141739g1f60be46m576bc3fa5ef3580d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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