print works only for root, not other users ...

bridged with qdn.public.qnxrtp.applications
Post Reply
Guest

print works only for root, not other users ...

Post by Guest » Fri Aug 30, 2002 8:51 pm

Hi,

I am guessing this is a file permission thing, somewhere, but here are
the symtpoms.
* QNX RTP 6.1
* Printing to a Jet direct printer on the net
* root can print through Photon (editor, Voyager for example)
* root can print from command line (lpr -P<printername>
* But, other users cannot print, either from within Photon or command
line

Changed permissions to 777 (and 666) for all files in /usr/spool and
below, and in /var/spool and below, and no difference

I do note that /var has permissions of 711 and /usr has permissions of
755, but would think that ought to be sufficient.

Any ideas anyone?

thanks, bruce

Kris Warkentin

Re: print works only for root, not other users ...

Post by Kris Warkentin » Tue Sep 03, 2002 12:33 pm

Is your lpr suid root? It's perms should be -rwsrwxr-x (4775) and be owned
by root.

cheers

Kris

<gilland@cs.colorado.edu> wrote in message
news:3d6fd96e.14200619@inn.qnx.com...
Hi,

I am guessing this is a file permission thing, somewhere, but here are
the symtpoms.
* QNX RTP 6.1
* Printing to a Jet direct printer on the net
* root can print through Photon (editor, Voyager for example)
* root can print from command line (lpr -P<printername
* But, other users cannot print, either from within Photon or command
line

Changed permissions to 777 (and 666) for all files in /usr/spool and
below, and in /var/spool and below, and no difference

I do note that /var has permissions of 711 and /usr has permissions of
755, but would think that ought to be sufficient.

Any ideas anyone?

thanks, bruce

Post Reply

Return to “qdn.public.qnxrtp.applications”