[Pkg-cups-devel] Bug#501719: cups-pdf: doesn't play well with NetWare shares
luca at pca.it
Sun Oct 19 21:37:31 UTC 2008
First of all, thank you for the inline quoting, I really appreciate.
On Sat, 18 Oct 2008 22:25:56 +0200, Volker Behr wrote:
> On Fri, 2008-10-17 at 21:55 +0200, Luca Capello wrote:
>> The more I think about it, the more I don't understand why CUPS-PDF
>> wants to set the ownership for the output directory :-(
> CUPS-PDF creates by default a new directory for each user that is only
> accessible by this user (since the created documents might be
> confidential and therefore must not be accessible by everyone by
I don't think it's the printer driver/software to determine which
printer's output (being on paper or digital format) should be
confidential and not widely accessible. CUPS-PDF should act exactly
like a physical printer: it's the *user* that should preserve her/his
> To make it accessible by just one single user the directory is
> chown-ed to this user and the permissions are set to 700.
FWIW, I found out an more explicative pages about NetWare mounts :
All objects appear to be owned by the logged-in user. chown(2)
Unix permissions set by chmod(2) appear correctly to stat(2), but
only execute permissions are honoured by the kernel. All other
permission checking is handled by NetWare. Files with none of the
"write" bits set get flagged as NetWare "read-only".
If I understood correctly, without checking the code, but only from the
errors I experienced, if the output directory already exists it's not
chown-ed, while it should be.
>> With my feelings above, this is still a bug in CUPS-PDF.
> I disagree that this is a bug - it behaves exactly as designed.
As I explained above, I don't share your design :-D
However, since I've now completely understood the problem and I could
find a solution, I won't investigate more on this.
> Nevertheless I admit that I should make a clearer statement in the
> documentation that I assume a filesystem for the output that features
> all basic properties of UNIX-filesystems.
I think we've three bugs here:
1) a documentation one about the features of the filesystem for the
output directory (this is the original bug)
2) CUPS-PDF not catching all the Ghostscript errors 
3) CUPD-PDF not setting the ownership for the output directory when the
latter already exists
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20081019/d1d565a7/attachment.pgp
More information about the Pkg-cups-devel