Or you can add the user "apache" to the group "lp". Francisco Koen van Leeuwen wrote: >>If you are using /dev/lp*, then you can change the permissions to allow >>anyone to use it: >> >>crw-rw---- 1 root lp 6, 0 Apr 11 2002 /dev/lp0 >>(default on my laptop, redhat 7.2) >> >>a "chmod o+rw /dev/lp0" (as root) gives: >>crw-rw-rw- 1 root lp 6, 0 Apr 11 2002 /dev/lp0 >> >>and now anyone can read/write the lp0 port. This may be a security >>issue; if not, I think this will solve your problem. >> >> > >If that creates a security issue, you can try chown apache /dev/lp0 >That makes Apache own the parallel port, so only Apache (and root) can access >it. > >AFAIK anyway. > >Greetings, >Koen > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. > >. > > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.