Permissions for Controlfile

Daniel ds at marco.de
Fri Jan 7 05:29:28 PST 2011


Hello,

in a filter-script I need the name of the printerqueue where the document is printed on. So I try to read the controlfile in the spool-Diretory.
But It has the wrong permissions (root:lp, rw--) so User lp (the filter-script is running as user "lp") can't read it.

Can I anywhere adjust the permissions?Or get the Queue-Name elsewhere?

Regards

Daniel





More information about the cups mailing list