简体   繁体   中英

How do we get rid of error 13 permission denied error during openstack image create?

microstack.openstack image create --file filename.qcow2 --disk-format qcow2 "imagename"

This gives error as

[Error 13] Permission denied file path

I had the same error. The image file was in the downloads folder. The work around for me was to put the image in the folder microstack had access to. I copied the file image to /var/snap/microstack/common/images/ . The cirros file that comes with microstack is also in that folder.

After copying the file, the image create was successful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM