print permissions

ACCLRU at HOFSTRA.BITNET ACCLRU at HOFSTRA.BITNET
Thu Dec 13 08:51:00 AEST 1990


>Print permissions on IRIX 3.3.1

>In the default set-up of IRIX files to get printed must be readable by
>group "lp" or by "world". A chmod to allow lp to access a file for printing
>and another chmod after printing to reset the priviledges is not very
>convenient. Does anyone have an idea for a better solution ?

You could cat the file to lp, or if it is coming from another program, you can
pipe it into lp. This gets around lp having to access the file.

Lanny
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*=*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*



More information about the Comp.sys.sgi mailing list