From 4e0808449d510925105f87851d66a8276437470e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 10 Aug 2015 17:08:01 -0700 Subject: [PATCH] InstallIntoSystem: Apks are fine being 644, no need for 655 See #364 --- .../src/org/fdroid/fdroid/installer/InstallIntoSystem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java b/F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java index ddaa05190..67b2adf2d 100644 --- a/F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java +++ b/F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java @@ -102,7 +102,7 @@ abstract class InstallIntoSystem { protected List getCopyToSystemCommands() { final List commands = new ArrayList<>(2); commands.add("cat " + context.getPackageCodePath() + " > " + getInstallPath() + ".tmp"); - commands.add("chmod 655 " + getInstallPath() + ".tmp"); + commands.add("chmod 644 " + getInstallPath() + ".tmp"); return commands; } @@ -178,7 +178,7 @@ abstract class InstallIntoSystem { List commands = new ArrayList<>(3); commands.add("mkdir " + getSystemFolder()); // create app directory if not existing commands.add("cat " + context.getPackageCodePath() + " > " + getInstallPath() + ".tmp"); - commands.add("chmod 655 " + getInstallPath() + ".tmp"); + commands.add("chmod 644 " + getInstallPath() + ".tmp"); return commands; }