[Swan-dev] permission problem in test run

D. Hugh Redelmeier hugh at mimosa.com
Wed Dec 19 02:03:54 UTC 2018


I ran the following as user "build":

		make kvm-purge &&
		make kvm-install &&
		make kvm-check KVM_TESTS=" testing/pluto/certoe-01-whack"

It failed:

	qemu-img convert \
		-p -O qcow2 \
		/home/build/pool/swanfedora28base.qcow2 \
		/home/build/pool/a.clone.qcow2.tmp
	qemu-img: Could not open '/home/build/pool/swanfedora28base.qcow2': Could not open '/home/build/pool/swanfedora28base.qcow2': Permission denied

	make: *** [/home/build/libreswan/mk/kvm-targets.mk:695: /home/build/pool/a.clone.qcow2] Error 1

	[build at redtiny libreswan]$ ls -l /home/build/pool/swanfedora28base.qcow2
	-rw-r-----. 1 root root 8591507456 Dec 18 20:17 /home/build/pool/swanfedora28base.qcow2
	[build at redtiny libreswan]$ umask
	0002

This file was created in this run.  Why was it be created in a way
that won't work?

I hacked the permissions and continued.  Success.  But the question above 
remains.

	make kvm-install &&
	make kvm-check KVM_TESTS=" testing/pluto/certoe-01-whack"

(The actual test fails.  That's a different issue.)


More information about the Swan-dev mailing list