all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#41367: cups: "Can't create temporary file"
@ 2020-05-17 18:54 Danny Milosavljevic
  2020-05-17 19:05 ` Efraim Flashner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2020-05-17 18:54 UTC (permalink / raw)
  To: 41367

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

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.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#41367: cups: "Can't create temporary file"
  2020-05-17 18:54 bug#41367: cups: "Can't create temporary file" Danny Milosavljevic
@ 2020-05-17 19:05 ` Efraim Flashner
  2020-05-17 20:42   ` Danny Milosavljevic
  2020-05-26 13:58 ` Danny Milosavljevic
  2020-05-26 14:04 ` Danny Milosavljevic
  2 siblings, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2020-05-17 19:05 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 41367

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#41367: cups: "Can't create temporary file"
  2020-05-17 19:05 ` Efraim Flashner
@ 2020-05-17 20:42   ` Danny Milosavljevic
  2020-05-18 10:18     ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: Danny Milosavljevic @ 2020-05-17 20:42 UTC (permalink / raw)
  Cc: 41367

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]

Found a previous bug report at

https://lists.gnu.org/archive/html/bug-guix/2018-10/msg00177.html

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#41367: cups: "Can't create temporary file"
  2020-05-17 20:42   ` Danny Milosavljevic
@ 2020-05-18 10:18     ` Ricardo Wurmus
  0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2020-05-18 10:18 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 41367


Danny Milosavljevic <dannym@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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#41367: cups: "Can't create temporary file"
  2020-05-17 18:54 bug#41367: cups: "Can't create temporary file" Danny Milosavljevic
  2020-05-17 19:05 ` Efraim Flashner
@ 2020-05-26 13:58 ` Danny Milosavljevic
  2020-05-26 14:04 ` Danny Milosavljevic
  2 siblings, 0 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2020-05-26 13:58 UTC (permalink / raw)
  To: 41367

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

On Sun, 17 May 2020 20:54:57 +0200
Danny Milosavljevic <dannym@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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#41367: cups: "Can't create temporary file"
  2020-05-17 18:54 bug#41367: cups: "Can't create temporary file" Danny Milosavljevic
  2020-05-17 19:05 ` Efraim Flashner
  2020-05-26 13:58 ` Danny Milosavljevic
@ 2020-05-26 14:04 ` Danny Milosavljevic
  2 siblings, 0 replies; 6+ messages in thread
From: Danny Milosavljevic @ 2020-05-26 14:04 UTC (permalink / raw)
  To: 41367-done

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Fixed in guix master commit 6ac7526e488ad3dd73080d1c00efe2066b1bf0a2.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-26 14:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-17 18:54 bug#41367: cups: "Can't create temporary file" Danny Milosavljevic
2020-05-17 19:05 ` Efraim Flashner
2020-05-17 20:42   ` Danny Milosavljevic
2020-05-18 10:18     ` Ricardo Wurmus
2020-05-26 13:58 ` Danny Milosavljevic
2020-05-26 14:04 ` Danny Milosavljevic

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.