cups output to file permissions question?
- From: bobmct <bobm3@xxxxxxxxxxxxxx>
- Date: Thu, 22 Feb 2007 23:37:59 -0500
ON a system I am working on a specific printer's cups interface cats a file
and pipe's it through the "tee" command so one side of it is written to a
spool archive. This works as expected.
Now, however, I am attempting to access these archived spool file copies
from a shell script and I am being refused due to permissions errors.
The permissions on the files created are 0660 (rw-------) which prohibits
access from anyone but root (which I cannot run as) or lp (which is the
cups user).
If I change the permissions on these files to 0660 (rw-rw---) at the time of
their creation I should be allowed access because the group ID of these
files is one that my production userid belongs.
Therefore, how would one go about altering the creation permissions from the
cups interface which is itself a shell script? I've tried inserting a
umast=0110 into the script but it changed nothing.
Any ideas anyone?
Thanks all.
.
- Follow-Ups:
- Re: cups output to file permissions question?
- From: Bit Twister
- Re: cups output to file permissions question?
- Prev by Date: Re: cups output to file permissions question?
- Next by Date: Re: VMware questions
- Previous by thread: Re: Modem question
- Next by thread: Re: cups output to file permissions question?
- Index(es):