Install Issue on Linux (Ubuntu 20.04)


Checking prerequisites and preparing Autopsy:

Checking for PhotoRec…found in /usr/bin
Checking for Java…found in /usr/lib/jvm/bellsoft-java8-full-amd64
Checking for Sleuth Kit Java bindings…found in /usr/share/java
Copying sleuthkit-4.9.0.jar into the Autopsy directory…cp: target ‘Recovery/autopsy-4.15.0/autopsy/modules/ext/sleuthkit-postgresql-4.9.0.jar’ is not a directory
ERROR: Copying /usr/share/java/sleuthkit-4.9.0.jar to /home/USERNAME/Data Recovery/autopsy-4.15.0/autopsy/modules/ext/sleuthkit-postgresql-4.9.0.jar failed.
Please check your permissions.

Any idea how to fix this?

It is because you have spaces in your pathname. You will need to edit the unix_setup.sh file. At line 60 put double quotes around the variable like this rm -f “$ext_jar_filepath”; at line 66 put double quotes around the variable like this cp $sleuthkit_jar_filepath “$ext_jar_filepath” This is fixed in the next release. This should fix your problem.

Not sure if this is the same issue, I have autopsy installed on linux mint 19.3 and 20. I get a permissions error unless I start autopsy from the autopsy/bin folder using sudo ./autopsy