/dev/ttyS0 - Permission denied.

Cosme Faria Corrêa cosme at pcs.srv.br
Wed Mar 30 23:01:05 UTC 2005


Em Qua, 2005-03-30 às 19:59 -0300, Cosme Faria Corrêa escreveu:
> Em Qua, 2005-03-30 às 23:08 +0100, kamarudin samsudin escreveu:
> > Hi all,
> > 
> > I need to run python script that read/write to serial port
> > (/dev/ttyS0). As root, i can run the script without problem but when i
> > tried to involke it via browser ( apache2. PHP 4.3) i got error. The
> > error is
> >    /dev/ttyS0 - Permission denied.
> > 
> > i tried chmod go+wr /dev/ttyS0...but it not working. Please help me.
> > 
> root? You are not root in this point.
> I do this avery day. :-)
> I have an old Palm and do not know who to set up udev. :-(
> > 

Try chown.

> > BTW - im using Core 3 on i386, pySerial python module and apache2.
> > 
> > Thanks in advance.
> > 
> > -- 
> > regards,
> > kamarudin samsudin
> > 
> 
>                           Cosme Faria Corrêa 
>                             55-21-2620-0735
>                             55-21-9219-5949
> 

                          Cosme Faria Corrêa 
                            55-21-2620-0735
                            55-21-9219-5949





More information about the fedora-list mailing list