Did you set the permission right on the /dev/rtf* devices.
I could imagine that it has RW for root and only R for other.

- Erwin

Pawel Mackow wrote:
> 
> Hi all,
> 
> I have unresolved problem with accessing RTL resources as non-root.
> 
> The main RTL application runs from root level, but the configuration
> application has to be run from cgi-bin script. I want to make
> configuration accessible from web browser and config app sends
> parameters to RT via FIFOs.
> 
> The config application is placed in /bin and is called from CGI
> script.
> 
> When it executes it tries to open two FIFOs:
> open( "/dev/rtf1", O_RDONLY );
> open( "/dev/rtf2", O_WRONLY );
> But only read-only FIFO opens when called from cgi-bin (ie. as
> non-root)
> 
> When config app is called by root all works normal.
> 
> Anyone can help?
> 
> And more general question: How can I use RT resources as non-root?
> I mean I/O ports (ioperm() doesn't work), shared memory, FIFO-s.
> 
> Pawel
> 
> Best regards,
>  Pawel                          mailto:[EMAIL PROTECTED]
> 
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/

-- 
        Q - S O F T - E N G I N E E R I N G 
     Rodachtalweg 11, 81549 Muenchen, Germany

Erwin Rol (Software Engineer)     phone: +49-89-68050051
[EMAIL PROTECTED]  fax  : +49-89-68050052
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to