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; }