Github messages for voidlinux
 help / color / mirror / Atom feed
From: b-l-a-i-n-e <b-l-a-i-n-e@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] `./xbps-src zap` permission error after compiling with golang
Date: Sun, 13 Feb 2022 19:03:43 +0100	[thread overview]
Message-ID: <20220213180343.yRdEPtr67egpyKLcwKGPrCB3TY0Pe7EJtRFV4TosJhA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34505@inbox.vuxu.org>

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

Closed issue by b-l-a-i-n-e on void-packages repository

https://github.com/void-linux/void-packages/issues/34505

Description:
After compiling a program with golang, a masterdir/tmp/go directory is created with files in it that can only only be removed as root.

``./xpbs-src zap`` then complains about permissions like below

```
rm: cannot remove '/home/b/void-packages/masterdir/tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20190328230028-74de082e2cca/dns/dnsmessage/example_test.go': Permission denied
rm: cannot remove '/home/b/void-packages/masterdir/tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20190328230028-74de082e2cca/dns/dnsmessage/message_test.go': Permission denied
rm: cannot remove '/home/b/void-packages/masterdir/tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20190328230028-74de082e2cca/dns/dnsmessage/message.go': Permission denied
rm: cannot remove '/home/b/void-packages/masterdir/tmp/go/pkg/mod/golang.org/x/net@v0.0.0-20190328230028-74de082e2cca/PATENTS': Permission denied
```


      parent reply	other threads:[~2022-02-13 18:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13  4:21 [ISSUE] " b-l-a-i-n-e
2021-12-13  4:37 ` b-l-a-i-n-e
2021-12-13  4:45 ` b-l-a-i-n-e
2021-12-13  9:49 ` paper42
2021-12-13 17:31 ` b-l-a-i-n-e
2022-02-13 18:03 ` b-l-a-i-n-e [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220213180343.yRdEPtr67egpyKLcwKGPrCB3TY0Pe7EJtRFV4TosJhA@z \
    --to=b-l-a-i-n-e@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).