Re: /dev/ttyS0 - Permission denied.

From: Alexander Dalloz (ad+lists_at_uni-x.org)
Date: 03/31/05

  • Next message: Chevee Dodd: "Re: Core 3 and sounds"
    To: kamarudin samsudin <kamarudin@gmail.com>, For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Thu, 31 Mar 2005 01:18:42 +0200
    
    
    
    

    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 
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    


  • Next message: Chevee Dodd: "Re: Core 3 and sounds"