Am Do, den 31.03.2005 schrieb kamarudin samsudin um 0:08: > 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. > > BTW - im using Core 3 on i386, pySerial python module and apache2. > kamarudin samsudin Any chance SELinux is interfering? Please check your syslog file /var/log/messages for avc / audit messages when you try to access the serial device through Apache. Alexander -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.771_FC2smp Serendipity 01:17:36 up 22:44, 18 users, 0.49, 0.48, 0.46
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil