GNU bug report logs - #41367
cups: "Can't create temporary file"

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Sun, 17 May 2020 18:56:02 UTC

Severity: normal

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41367 in the body.
You can then email your comments to 41367 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41367; Package guix. (Sun, 17 May 2020 18:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 17 May 2020 18:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: cups: "Can't create temporary file"
Date: Sun, 17 May 2020 20:54:57 +0200
[Message part 1 (text/plain, inline)]
Hi,

so I was trying to print something after a long time of not printing anything.

I got the error message "Can't creeate temporary file" in http://localhost:631 .

The reason was that /var/spool/cups/tmp was

  drwxr-xr-x 2 root lp  tmp

when it should have been

  drwxrwxr-x 2 root lp  tmp

otherwise HP PSC 2170 wouldn't print.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41367; Package guix. (Sun, 17 May 2020 19:07:01 GMT) Full text and rfc822 format available.

Message #8 received at 41367 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 41367 <at> debbugs.gnu.org
Subject: Re: bug#41367: cups: "Can't create temporary file"
Date: Sun, 17 May 2020 22:05:28 +0300
[Message part 1 (text/plain, inline)]
On Sun, May 17, 2020 at 08:54:57PM +0200, Danny Milosavljevic wrote:
> Hi,
> 
> so I was trying to print something after a long time of not printing anything.
> 
> I got the error message "Can't creeate temporary file" in http://localhost:631 .
> 
> The reason was that /var/spool/cups/tmp was
> 
>   drwxr-xr-x 2 root lp  tmp
> 
> when it should have been
> 
>   drwxrwxr-x 2 root lp  tmp
> 
> otherwise HP PSC 2170 wouldn't print.

The cups service, in (gnu services cups) line 916, creates
/var/spool/cups as #o755. Sounds like it should be #o775.


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41367; Package guix. (Sun, 17 May 2020 20:43:01 GMT) Full text and rfc822 format available.

Message #11 received at 41367 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Efraim Flashner <efraim <at> flashner.co.il>, 41367 <at> debbugs.gnu.org
Subject: Re: bug#41367: cups: "Can't create temporary file"
Date: Sun, 17 May 2020 22:42:18 +0200
[Message part 1 (text/plain, inline)]
Found a previous bug report at

https://lists.gnu.org/archive/html/bug-guix/2018-10/msg00177.html
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41367; Package guix. (Mon, 18 May 2020 10:20:01 GMT) Full text and rfc822 format available.

Message #14 received at 41367 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 41367 <at> debbugs.gnu.org
Subject: Re: bug#41367: cups: "Can't create temporary file"
Date: Mon, 18 May 2020 12:18:54 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> writes:

> Found a previous bug report at
>
> https://lists.gnu.org/archive/html/bug-guix/2018-10/msg00177.html

Alternative URL:

    https://issues.guix.gnu.org/33105

I also ran into this problem and making the directory group-writable
fixed it.

-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#41367; Package guix. (Tue, 26 May 2020 14:00:02 GMT) Full text and rfc822 format available.

Message #17 received at 41367 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 41367 <at> debbugs.gnu.org
Subject: Re: bug#41367: cups: "Can't create temporary file"
Date: Tue, 26 May 2020 15:58:35 +0200
[Message part 1 (text/plain, inline)]
On Sun, 17 May 2020 20:54:57 +0200
Danny Milosavljevic <dannym <at> scratchpost.org> wrote:

> I got the error message "Can't creeate temporary file" in http://localhost:631 .
> 
> The reason was that /var/spool/cups/tmp was
> 
>   drwxr-xr-x 2 root lp  tmp
> 
> when it should have been
> 
>   drwxrwxr-x 2 root lp  tmp
> 
> otherwise HP PSC 2170 wouldn't print.

After fixing that, it eventually auto-broke again after some time.
Permissions automatically reverted to the former ones.

Endless error loop :P
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
You have taken responsibility. (Tue, 26 May 2020 14:05:01 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Tue, 26 May 2020 14:05:01 GMT) Full text and rfc822 format available.

Message #22 received at 41367-done <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: 41367-done <at> debbugs.gnu.org
Subject: Re: bug#41367: cups: "Can't create temporary file"
Date: Tue, 26 May 2020 16:04:28 +0200
[Message part 1 (text/plain, inline)]
Fixed in guix master commit 6ac7526e488ad3dd73080d1c00efe2066b1bf0a2.
[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 24 Jun 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.