[comp.sys.sgi] permissions to use lp...

cantin@nrccsb2.di.nrc.ca (Claude Cantin) (05/02/91)

IRIX 3.3.2, 4D/280S.

To print a file with the System V spooler, it seems one has to have
read permission for all.  If file "junk" with permissions rwx------
it to be printed, the following is issued:

    57 bsa,cantin> lp -ddecwriter junk
    lp: can't access file "junk"
    lp: request not accepted     
    58 bsa,cantin> 

The same thing happens if the home directory of the user is closed to
the world (ie. has permissions 700).

BUT it works if the command

    lp -decwriter < junk

is used instead!!

/usr/bin/lp has permissions rwsrwsr-x.

Our environment requires some people have their home directory closed.  I'm
sure many Universities do that as well.

Has anyone run into that problem???  The manual offers no explanation:  it
simply says that permissions may be wrong!!!  One MUST be able to print
with the normal command without having to open his/her file to the world!

Any suggestions??

    Thank you,
-- 
    Claude Cantin			    tel: (613) 993 0240
    M-60, Chemin Montreal		    FAX: (613) 954 2561
    Conseil National de Recherches Canada   BITNET: cantin@nrcvm01
    Ottawa, Canada (K1A 0R6)		    INTERNET: cantin@nrccsb3.di.nrc.ca