Re: cutecom requires sudo to work, but minicom works without - permissions?

2008-04-20 Thread Vincent Barus
On Thu, Apr 17, 2008 at 1:50 PM, Ruben de Groot <[EMAIL PROTECTED]> wrote:
> 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
>
>
>
>  ___
>  freebsd-questions@freebsd.org mailing list
>  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>  To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

Or use devfs.conf(5), devfs.rules(5) if you don't like the dialers group.

-- 

~ vb
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cutecom requires sudo to work, but minicom works without - permissions?

2008-04-17 Thread Ruben de Groot
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cutecom requires sudo to work, but minicom works without - permissions?

2008-04-15 Thread Derek Ragona

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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cutecom requires sudo to work, but minicom works without - permissions?

2008-04-14 Thread Steve Franks
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"