Cannot open '.genisoimagerc'. during VM creation
Closed this issue · 1 comments
xxdesmus commented
Hi there, I'm trying to follow https://hatching.io/blog/cuckoo-sandbox-setup/ and when I reach this step:
vmcloak init --verbose --win7x64 win7x64base --cpus 2 --ramsize 2048
I'm receiving the following error:
(cuckoo) cuckoo@sfo3-01:/root$ vmcloak init --verbose --win7x64 win7x64base --cpus 2 --ramsize 2048
/home/cuckoo/cuckoo/local/lib/python2.7/site-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import utils, x509
ERROR:vmcloak.abstract:Error creating ISO file (err=0): /usr/bin/genisoimage: Permission denied. Cannot open '.genisoimagerc'.
/usr/bin/genisoimage: Permission denied. Cannot open '.mkisofsrc'.
Warning: creating filesystem that does not conform to ISO-9660.
Win7 ISO is mounted:
/dev/loop0 3.1G 3.1G 0 100% /mnt/win7
OS: Ubuntu 18.04
Followed all the steps up to this point without issue.
xxdesmus commented
looks like this is solved if you switch to ~/cuckoo
before running:
vmcloak init --verbose --win7x64 win7x64base --cpus 2 --ramsize 2048