Up to a couple days ago, mock and fedora-review were working fine for me, but just recently I have started getting permission errors:
``` ... Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656028800 RPM build errors: error: error creating temporary file /var/tmp/rpm-tmp.4XaamA: Permission denied error: Unable to open temp file: Permission denied error creating temporary file /var/tmp/rpm-tmp.4XaamA: Permission denied Unable to open temp file: Permission denied Child return code was: 1 Mock Version: 3.0
```
Any suggestions for how to fix this? I verified that I am in the mock group
On Sat, Jun 25, 2022 at 12:33 PM Mark E. Fuller fuller@fedoraproject.org wrote:
Up to a couple days ago, mock and fedora-review were working fine for me, but just recently I have started getting permission errors:
... Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656028800 RPM build errors: error: error creating temporary file /var/tmp/rpm-tmp.4XaamA: Permission denied error: Unable to open temp file: Permission denied error creating temporary file /var/tmp/rpm-tmp.4XaamA: Permission denied Unable to open temp file: Permission denied Child return code was: 1 Mock Version: 3.0
Any suggestions for how to fix this? I verified that I am in the mock group
Try scrubbing your chroot, something like this:
mock -r fedora-rawhide-x86_64 --scrub=chroot
for the appropriate chroot if it isn't Rawhide, of course. Then try building something in mock again.
Thank you very much - that fixed it
On 27/06/2022 22:50, Jerry James loganjerry@gmail.com wrote:
On Sat, Jun 25, 2022 at 12:33 PM Mark E. Fuller fuller@fedoraproject.org wrote:
Up to a couple days ago, mock and fedora-review were working fine for me, but just recently I have started getting permission errors:
... Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656028800 RPM build errors: error: error creating temporary file /var/tmp/rpm-tmp.4XaamA: Permission denied error: Unable to open temp file: Permission denied error creating temporary file /var/tmp/rpm-tmp.4XaamA: Permission denied Unable to open temp file: Permission denied Child return code was: 1 Mock Version: 3.0
Any suggestions for how to fix this? I verified that I am in the mock group
Try scrubbing your chroot, something like this:
mock -r fedora-rawhide-x86_64 --scrub=chroot
for the appropriate chroot if it isn't Rawhide, of course. Then try building something in mock again.