Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can no longer install ventoy
#1
Greetings,
I suddenly can't install ventoy anymore.
I'm getting the error:
./tool/ventoy_lib.sh: line 63: ./tool/x86_64/mkexfatfs: Permission denied.

I've tried using sudo and as root but I get the same error.
I don't know if my recent upgrade from Kubuntu 21.04 to 21.10 has any thing todo with it but I doubt it.
I've tried different flash drives but I still get the error.
Any ideas anyone?

thanks in advance
iomari
Reply
#2
run
chmod +x  ./tool/x86_64/mkexfatfs
and then try again.
Or you can run ./VentoyGUI.x86_64 to use the GUI version.
https://www.ventoy.net/en/doc_linux_gui.html
Reply
#3
tried chmod many times.
and the gui says permission denied.
All have executable permissions.
Reply
#4
Please run the following commands and give me the result. You can save them to a shell script and run.

Code:
whoami
uname -a
md5sum ./tool/x86_64/mkexfatfs
ls -l ./tool/x86_64/mkexfatfs
stat  ./tool/x86_64/mkexfatfs
ldd  ./tool/x86_64/mkexfatfs
./tool/x86_64/mkexfatfs -V
Reply
#5
─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.17G   29/10/2021   10:37:41 ▓▒░─────────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ ✔  1.49 ⭐  100% █ ─╮
╰─ whoami ─╯
iomari

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.18G   29/10/2021   10:37:52 ▓▒░─────────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ ✔  1.47 ⭐  100% █ ─╮
╰─ uname -a ─╯
Linux iomariLaptop 5.13.0-19-generic #19-Ubuntu SMP Thu Oct 7 21:58:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.18G   29/10/2021   10:38:02 ▓▒░─────────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ ✔  1.45 ⭐  100% █ ─╮
╰─ md5sum ./tool/x86_64/mkexfatfs ─╯
9dc86cdf9d05679ff181363b54640469 ./tool/x86_64/mkexfatfs

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.17G   29/10/2021   10:38:11 ▓▒░─────────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ ✔  1.53 ⭐  100% █ ─╮
╰─ ls -l ./tool/x86_64/mkexfatfs ─╯
-rwxrwxrwx 1 iomari iomari 53528 Oct 28 14:47 ./tool/x86_64/mkexfatfs

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.16G   29/10/2021   10:38:20 ▓▒░─────────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ ✔  1.53 ⭐  100% █ ─╮
╰─ stat ./tool/x86_64/mkexfatfs ─╯
device 2081
inode 57939008
mode 33279
nlink 1
uid 1000
gid 1000
rdev 0
size 53528
atime 1635430790
mtime 1635428860
ctime 1635430775
blksize 4096
blocks 112
link

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.16G   29/10/2021   10:38:27 ▓▒░─────────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ ✔  1.57 ⭐  100% █ ─╮
╰─ ldd ./tool/x86_64/mkexfatfs ─╯
not a dynamic executable

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.16G   29/10/2021   10:38:45 ▓▒░───────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ 1 ✘  1.57 ⭐  100% █ ─╮
╰─ ./tool/x86_64/mkexfatfs -V ─╯
zsh: permission denied: ./tool/x86_64/mkexfatfs

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.17G   29/10/2021   10:38:45 ▓▒░─────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ 126 ✘  1.54 ⭐  100% █ ─╮
╰─
Reply
#6
please run

file ./tool/x86_64/mkexfatfs
strace  ./tool/x86_64/mkexfatfs
readelf -h ./tool/x86_64/mkexfatfs
Reply
#7
─ file ./tool/x86_64/mkexfatfs ─╯
./tool/x86_64/mkexfatfs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=de003a5ae097b4004e6b77e6cd71d2410df7b310, stripped

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.11G   29/10/2021   11:09:20 ▓▒░─────────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ ✔  1.23 ⭐  100% █ ─╮
╰─ strace ./tool/x86_64/mkexfatfs ─╯
execve("./tool/x86_64/mkexfatfs", ["./tool/x86_64/mkexfatfs"], 0x7ffea7f6dc40 /* 127 vars */) = -1 EACCES (Permission denied)
strace: exec: Permission denied
+++ exited with 1 +++

╭─ iomari@iomariLaptop  iomari     /mnt/2t2/current/ventoy/ventoy-1.0.56   6.11G   29/10/2021   11:09:32 ▓▒░───────────────────────────────────────────────────────────────────────────────────────────────────░▒▓ 1 ✘  1.24 ⭐  100% █ ─╮
╰─ readelf -h ./tool/x86_64/mkexfatfs ─╯
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x401337
Start of program headers: 64 (bytes into file)
Start of section headers: 51672 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 9
Size of section headers: 64 (bytes)
Number of section headers: 29
Section header string table index: 28
Reply
#8
UPDATE:
I noticed that the app works fine when I created a new user and tried it. SO what might be the problem with my main user name?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)