* bug#55809: guix challenge with diffoscope fails to clean up temporary directory
@ 2022-06-05 16:55 Vagrant Cascadian
2022-06-13 10:30 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Vagrant Cascadian @ 2022-06-05 16:55 UTC (permalink / raw)
To: 55809
[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]
When I run a command such as:
guix challenge --verbose --diff=diffoscope gavl 2>&1 | tee gavl
It works for the most part, producing the diffoscope output, but ends
with a bunch of warnings regarding removing the temporary directory it
created to compare the files:
warning: failed to delete /tmp/guix-directory.5TokII/share/doc: Permission denied
warning: failed to delete /tmp/guix-directory.5TokII/share: Permission denied
warning: failed to delete /tmp/guix-directory.5TokII: Directory not empty
The permissions on the directory are read-only, which is presumably why
it cannot remove them:
$ ls -latr /tmp/guix-directory.5TokII/
total 28
dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 share
dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 lib
dr-xr-xr-x 3 vagrant vagrant 4096 Dec 31 1969 include
dr-xr-xr-x 5 vagrant vagrant 4096 Dec 31 1969 .
drwxrwxrwt 168 root root 12288 Jun 5 09:28 ..
The warnings are at best distracting, and at worst end up effectively
making it impossible to see the diffoscope output without redirecting to
a file, as the source files can take up many many lines in the scroll
buffer.
live well,
vagrant
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#55809: guix challenge with diffoscope fails to clean up temporary directory
2022-06-05 16:55 bug#55809: guix challenge with diffoscope fails to clean up temporary directory Vagrant Cascadian
@ 2022-06-13 10:30 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-06-13 10:30 UTC (permalink / raw)
To: Vagrant Cascadian; +Cc: 55809-done
Hello,
Vagrant Cascadian <vagrant@reproducible-builds.org> skribis:
> When I run a command such as:
>
> guix challenge --verbose --diff=diffoscope gavl 2>&1 | tee gavl
>
> It works for the most part, producing the diffoscope output, but ends
> with a bunch of warnings regarding removing the temporary directory it
> created to compare the files:
>
> warning: failed to delete /tmp/guix-directory.5TokII/share/doc: Permission denied
> warning: failed to delete /tmp/guix-directory.5TokII/share: Permission denied
> warning: failed to delete /tmp/guix-directory.5TokII: Directory not empty
Fixed in 2a2856d5ccd9a9b7df8a94333a277b971a39b150, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-13 10:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-05 16:55 bug#55809: guix challenge with diffoscope fails to clean up temporary directory Vagrant Cascadian
2022-06-13 10:30 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).