cups output file permissions question?

R. Mariotti r.mariotti at fdcx.net
Thu Feb 22 16:37:58 EST 2007


Luggers;

I have a cups printer defined and the interface module (a bash shell
script) cats the supplied filename and pipes it to "tee" where one side
of it is written to a file for subsequent extraction by other processes.

It appears that the files created are owned by user 'lp' of group 'sys'
but the permissions are created as 0600 (rw-------).

As a result, no one but the root user can have access to these files,
not even the creator (lp) because lp has no login capability.

Is there a simple way to gain access to these files from another script?

My initial thought was to change the umask to alter the creation
permissions to 660 (rw-rw----) and I inserted a umask=0110 in the
interface script which didn't change anything.

So, cups guru's, please respond?  What can I do to alter these
permissions upon creation to allow group access?  I've looked through
the cups faqs and docs and the various linux print docs I have and see
nothing.

Anyone???

Thanks

bobmct

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list