[Pkg-cups-devel] Bug#501719: cups-pdf: doesn't play well with NetWare shares

Volker Behr behr at physik.uni-wuerzburg.de
Sat Oct 18 20:25:56 UTC 2008


On Fri, 2008-10-17 at 21:55 +0200, Luca Capello wrote:
> Hi again, Volker!
> On Fri, 17 Oct 2008 21:45:05 +0200, Luca Capello wrote:
> > However, I performed more tests and I found the *real* error.
> >
> > If the output directory doesn't exists, CUPS-PDF fails with an error:
> > =====
> > [DEBUG] switching to new gid (lpadmin)
> > [DEBUG] initialization finished (v2.4.8)
> > [DEBUG] user identified (irlab)
> > [DEBUG] output directory name generated (/mnt/Novell/PROD/PDF-Printer)
> > [STATUS] directory created (/mnt/Novell/PROD/PDF-Printer)
> > [DEBUG] user output directory created (/mnt/Novell/PROD/PDF-Printer)
> > [ERROR] failed to set owner for output directory (irlab)
> > =====
> 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
default). To make it accessible by just one single user the directory is
chown-ed to this user and the permissions are set to 700.

> > While this seems not to be a bug in CUPS-PDF (please feel free to
> > reassign it to ncpfs [2]), however CUPS-PDF should report a more
> > informative error.
> With my feelings above, this is still a bug in CUPS-PDF.

I disagree that this is a bug - it behaves exactly as designed.
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.


> Thx, bye,
> Gismo / Luca

Dr. rer. nat. Volker Christian Behr
Experimentelle Physik V (Biophysik), Physikalisches Institut
Universitaet Wuerzburg, Am Hubland, 97074 Wuerzburg, Germany

Office: Room F-069a
+49-931-888-5766 (phone)
+49-931-888-5851 (fax)

More information about the Pkg-cups-devel mailing list