I am trying to run kraken2-build --standard --db /mnt/kraken_db, but I get the following error
Can't exec "standard_installation.sh": Permission denied at /usr/local/bin/kraken2-build line 308.
I have placed kraken2, kraken2-build and kraken2-inspect in my PATH. I tried to build using sudo permissions, but no luck again. I have confirmed that I have the permissions to execute the file.
which kraken2 gives me ´/usr/local/bin/kraken2´
´echo $PATH´gives the following output
´/home/ubuntu/.local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/root/bin´
I have also given execute permissions to the kraken2 directory recursively after cloning it. Any ideas on what might be causing this?
line 308 is exec "standard_installation.sh". How about checking your file 'standard_installation.sh' 's Permission? chmod 755 standard_installation.sh.
Hi,
I am trying to run
kraken2-build --standard --db /mnt/kraken_db
, but I get the following errorCan't exec "standard_installation.sh": Permission denied at /usr/local/bin/kraken2-build line 308.
I have placedkraken2
,kraken2-build
andkraken2-inspect
in my PATH. I tried to build using sudo permissions, but no luck again. I have confirmed that I have the permissions to execute the file.which kraken2
gives me ´/usr/local/bin/kraken2´ ´echo $PATH´gives the following output ´/home/ubuntu/.local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/root/bin´I have also given execute permissions to the kraken2 directory recursively after cloning it. Any ideas on what might be causing this?