/dev/ttyS0 - Permission denied.

Cosme Faria Corrêa cosme at pcs.srv.br
Wed Mar 30 22:59:39 UTC 2005


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. :-(
> 
> 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





More information about the fedora-list mailing list