Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csmock: fix Permission denied errors on /builddir
... while scaning tarballs instead of SRPMs: ``` $ csmock -r fedora-rawhide-x86_64 -t clippy --shell-cmd='cargo build' -f trustification-main.tar.gz [...] + cargo build + set -- clippy + /usr/bin/cargo_original clippy --message-format=json /usr/bin/cargo: line 9: /builddir/clippy-output.txt: Permission denied + /usr/bin/cargo_original build Updating git repository `https://github.com/ctron/csaf-rs` error: failed to load source for dependency `csaf` Caused by: Unable to update https://github.com/ctron/csaf-rs?rev=183326beac525d58962f78be8eca973017702753#183326be Caused by: failed to create directory `/builddir/.cargo/git/db/csaf-rs-27cd9c29798421c8` Caused by: Permission denied (os error 13) Finish: chroot ['/bin/su mockbuild -l -c "PATH=\\$PATH sh -c \\"sh -x \'/tmp/csmockgr5cszf3/build.sh\'\\""'] Finish: run !!! 2024-04-23 16:13:23 error: %build failed ``` Reported-by: Jonathan Christison Closes: csutils#163
- Loading branch information