“/opt/unetlab/wrappers/unl_wrapper -a fixpermissions” issues
Posted: Fri Jan 13, 2023 12:42 am
Hello,
I’m running an EVE-NG VM within Virtualbox 7.0 on a 2015 Intel based Macbook Pro. I’d attempted to follow the guide to add some VIRL images I have access to, and it all went accordingly until the last step. Could anyone help me out?
Entering in:
“/opt/unetlab/wrappers/unl_wrapper -a fix permissions”
Resulted in:
“PHP Warning: file_get_contents(/opt/unetlab/platform): failed to open stream: No such file or directory in /opt/unetlab/html/includes/init.php on line 71”
So I edited line 71 in /opt/unetlab/html/includes/init.php; Removing “platform” from “/opt/unetlab/platform”:
$kvm_family = file_get_contents(“/opt/unetlab/“);
After editing; Entering the same command again:
“/opt/unetlab/wrappers/unl_wrapper -a fixpermissions”
Resulted in:
“PHP Notice: file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory in /opt/unetlab/html/includes/init.php on line 71”
I’m not sure where to go from here to fix the permissions. Any insight would be greatly appreciated. Thank you.
I’m running an EVE-NG VM within Virtualbox 7.0 on a 2015 Intel based Macbook Pro. I’d attempted to follow the guide to add some VIRL images I have access to, and it all went accordingly until the last step. Could anyone help me out?
Entering in:
“/opt/unetlab/wrappers/unl_wrapper -a fix permissions”
Resulted in:
“PHP Warning: file_get_contents(/opt/unetlab/platform): failed to open stream: No such file or directory in /opt/unetlab/html/includes/init.php on line 71”
So I edited line 71 in /opt/unetlab/html/includes/init.php; Removing “platform” from “/opt/unetlab/platform”:
$kvm_family = file_get_contents(“/opt/unetlab/“);
After editing; Entering the same command again:
“/opt/unetlab/wrappers/unl_wrapper -a fixpermissions”
Resulted in:
“PHP Notice: file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory in /opt/unetlab/html/includes/init.php on line 71”
I’m not sure where to go from here to fix the permissions. Any insight would be greatly appreciated. Thank you.