Triggering the yay command again after the initial build causes a bunch of permission errors under ~/.cache/yay/wuffs-git/src/.go. Permissions should ensure that the builder user always has access to the files under their home folder.
* the below extended 15 times in length *
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose-small-v5.bmp': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose-small-v5.png': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose-small.bmp': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose-small.png': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose.lossless.webp': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose.lossy-with-alpha.webp': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose.lossy-with-alpha.webp.nycbcra.png': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose.lossy.webp': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose.lossy.webp.ycbcr.png': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/testdata/yellow_rose.png': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/tiff/buffer.go': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/tiff/buffer_test.go': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/tiff/compress.go': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/tiff/consts.go': Permission denied
rm: cannot remove '/home/notangel/.cache/yay/wuffs-git/src/.go/pkg/mod/golang.org/x/image@v0.38.0/tiff/fuzz.go': Permission denied
Pinned Comments
dreieck commented on 2026-07-04 09:34 (UTC) (edited on 2026-07-04 09:34 (UTC) by dreieck)
For build errors, please do not flag out of date but report in the comments.
If it is an upstream error and you are able to, you are encouraged (but not required) to write an upstream report, too, and link it here.
Regards!