S
S
Syslov2021-02-26 22:30:58
ubuntu
Syslov, 2021-02-26 22:30:58

How to change file type from DYN to EXEC and run it?

There is a file.
In ELF-Header: Type: DYN (Shared object file)
after elfedit --output-type EXEC filename
In ELF-Header: Type: EXEC (Executable file)
[sudo] ./filename: command not found
How to run the file?

I saw answers with chmod +x, but, unfortunately, all rights to the file are already given: -rwxrwxrwx

The file is initially executable - this is something like a test)
Sorry for the super clumsy wording, I'm a complete 0 in unix.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-02-27
@karabanov

Give it permissions and run chmod +x ./filename

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question