Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cups output file permissions question?



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org