Permissions

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
snarfboy
Posts: 3
Joined: Sat Aug 24, 2024 8:10 pm

Permissions

Post by snarfboy » Sat Aug 24, 2024 8:13 pm

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

rusty725
Posts: 360
Joined: Thu Mar 29, 2018 4:19 pm

Re: Permissions

Post by rusty725 » Sat Aug 24, 2024 8:19 pm

chmod +x /opt/unetlab/wrappers/unl_wrapper

also show output of kvm-ok command

snarfboy
Posts: 3
Joined: Sat Aug 24, 2024 8:10 pm

Re: Permissions

Post by snarfboy » Sun Aug 25, 2024 12:55 am

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

snarfboy
Posts: 3
Joined: Sat Aug 24, 2024 8:10 pm

Re: Permissions

Post by snarfboy » Sun Aug 25, 2024 2:47 am

cheers rusty, fixed it, i just re-installed

rusty725
Posts: 360
Joined: Thu Mar 29, 2018 4:19 pm

Re: Permissions

Post by rusty725 » Sun Aug 25, 2024 3:49 am

glad it sorted it out

Post Reply