diff --git a/homebrew/autopsy4.rb b/homebrew/autopsy4.rb index 3eb96570f84a405d74527a248b076ab471676b88..e25adf30aa2f3d41e705ff416147ff8afcf9b070 100644 --- a/homebrew/autopsy4.rb +++ b/homebrew/autopsy4.rb @@ -108,12 +108,6 @@ class Autopsy4 < Formula ENV["TSK_JAVA_LIB_PATH"] = File.join(prefix, "share", "java") system unix_setup_script, "-j", "#{java_home_path}" - # set executable by all (for packaging and running) - system "chmod", "a+x", "#{autopsy_install_path}/autopsy/markmckinnon/Export*" - system "chmod", "a+x", "#{autopsy_install_path}/autopsy/markmckinnon/parse*" - system "chmod", "-R", "a+x", "#{autopsy_install_path}/autopsy/solr/bin" - system "chmod", "a+x", "#{autopsy_install_path}/bin/autopsy" - open(File.join(autopsy_install_path, "etc", "autopsy.conf"), 'a') { |f| # gstreamer needs the 'gst-plugin-scanner' to locate gstreamer plugins like the ones that allow gstreamer to play videos in autopsy # so, the jreflags allow the initial gstreamer lib to be loaded and the 'GST_PLUGIN_SYSTEM_PATH' along with 'GST_PLUGIN_SCANNER' diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index ffd77fffc7a55ab1c219826c3b2d5e5f6f4131ca..7ddee35608896b4528e984faef09d906708b804e 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -174,8 +174,6 @@ parts: # snaps run applications with different permissions. This ensures applications can run. chmod 755 "$AUTOPSY_LOCATION/bin/autopsy" - find "$AUTOPSY_LOCATION/autopsy/markmckinnon" -name "Export*" -o -name "parse*" | xargs -I{} chmod a+x {} - chmod -R a+x "$AUTOPSY_LOCATION/autopsy/solr/bin" # include this line to print all set variables # sed -i '129 i set -o posix ; echo $(set) >&2 ; ls -l "${jdkhome}/bin/java"' "$AUTOPSY_LOCATION/platform/lib/nbexec" \ No newline at end of file