mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
require only read for create image
This commit is contained in:
@@ -60,7 +60,7 @@ TMP_IMG="$TMP_DIR/box.img"
|
||||
|
||||
mkdir -p "$TMP_DIR"
|
||||
|
||||
[[ ! -w "$IMG" ]] && error "'$IMG': Permission denied"
|
||||
[[ ! -r "$IMG" ]] && error "'$IMG': Permission denied"
|
||||
|
||||
# We move / copy (when the image has master) the image to the tempdir
|
||||
# ensure that it's moved back / removed again
|
||||
|
||||
Reference in New Issue
Block a user