Page 1 of 1

Permissions

Posted: Sat Aug 24, 2024 8:13 pm
by snarfboy
Seemed to of lost permissions

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
-bash: /opt/unetlab/wrappers/unl_wrapper: Permission denied
root@eve-ng:~# ls -la
total 44
drwx------ 5 root root 4096 Aug 23 23:01 .
drwxr-xr-x 20 root root 4096 Aug 23 22:35 ..
-rw------- 1 root root 1493 Aug 24 21:02 .bash_history
-rw-r--r-- 1 root root 3106 Oct 15 2021 .bashrc
drwx------ 2 root root 4096 Aug 23 22:38 .cache
drwx------ 3 root root 4096 Aug 23 22:31 .config
-rw-r--r-- 1 root root 172 Aug 23 22:31 labs-202408232231.tgz
-rw------- 1 root root 20 Aug 23 23:01 .lesshst
-rw-r--r-- 1 root root 161 Jul 9 2019 .profile
drwx------ 3 root root 4096 Aug 23 22:27 snap
-rw-r--r-- 1 root root 169 Aug 24 21:00 .wget-hsts

Hpw do i fix ..please

Re: Permissions

Posted: Sat Aug 24, 2024 8:19 pm
by rusty725
chmod +x /opt/unetlab/wrappers/unl_wrapper

also show output of kvm-ok command

Re: Permissions

Posted: Sun Aug 25, 2024 12:55 am
by snarfboy
kvm-ok command
INFO: /dev/kvm exists
KVM acceleration can be used

now get this

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
PHP Warning: file_get_contents(https://127.0.0.1:445/challenge): Failed to open stream: Connection refused in /opt/unetlab/html/includes/functions.php on line 60
PHP Warning: Undefined array key "challenge" in /opt/unetlab/html/includes/func tions.php on line 67

Re: Permissions

Posted: Sun Aug 25, 2024 2:47 am
by snarfboy
cheers rusty, fixed it, i just re-installed

Re: Permissions

Posted: Sun Aug 25, 2024 3:49 am
by rusty725
glad it sorted it out