1
I need to use the file flare
and flasm
, which chown and permission are correct. Why can I execute only one and not the other?
-rwxr-xr-x 1 daniela.morais sudo 64808 Mar 19 13:54 flare*
-rwxr-xr-x 1 daniela.morais sudo 108525 Mar 19 13:48 flasm*
daniela.morais@tusk:/usr/local/bin$ flare
Flare 0.6 build Jun 11 2007
Copyright (c) 2003-2005 Igor Kogan
All rights reserved. See LICENSE.TXT for terms of use.
Usage: flare filename.swf
Decompiled ActionScript code is stored in filename.flr.
daniela.morais@tusk:/usr/local/bin$ flasm
bash: /usr/local/bin/flasm: No such file or directory
Flare: http://www.nowrap.de/flare.html Flasm: http://www.nowrap.de/flasm.html
That one
flasm
is a file even, or a symbolic link? (if it is a link, maybe the file does not exist in the place where this link is pointing...) If you are in doubt, try itls -la
– mgibsonbr
@mgibsonbr It is a file. The asterisk at the end of the file name indicates that it is an executable.
– stderr
Permissions are correct, which is the output of the command
which flasm
? I don’t know if this is the case, but also try to update the cache of this file withhash -d flasm
, the path for your command may have been cached with a wrong value.– stderr
in addition to what has already been suggested, you can update the post with the output of the command
file flare flasm
? Just to make sure both files can be run.– Bruno Coimbra
@Qmechanic73, the asterisk at command exit
ls
just indicates that the file has execution permission due to some shell boot configuration. This has no relation to it being executable or not.– Bruno Coimbra
@Brunocoimbra I may have misinterpreted what’s written here. =)
– stderr
@Qmechanic73 daniela.morais@tusk:~$ which flasm
/usr/local/bin/flasm
daniela.morais@tusk:~$ hash -d flasm
daniela.morais@tusk:~$ flasm
bash: /usr/local/bin/flasm: No such file or directory
– Daniela Morais
@BrunoCoimbra daniela.morais@tusk:/usr/local/bin$ file flare flasm
flare: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped
flasm: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically Linked (uses Shared libs), for GNU/Linux 2.2.5, Stripped
– Daniela Morais
Daniela.morais@tusk:~/Downloads/config$ file flasm flasm: ELF 32-bit LSB Executable, Intel 80386, version 1 (SYSV), dynamically Linked (uses Shared libs), for GNU/Linux 2.2.5, Stripped .
– Daniela Morais