From 98117b19c0ad5e1a71fd82bbc0fe8ecc2e737bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 12 Aug 2015 13:36:32 -0700 Subject: [PATCH] Make sure that our system folder is 755 See #364 --- F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java b/F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java index 67b2adf2d..fded21dd0 100644 --- a/F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java +++ b/F-Droid/src/org/fdroid/fdroid/installer/InstallIntoSystem.java @@ -177,6 +177,7 @@ abstract class InstallIntoSystem { protected List getCopyToSystemCommands() { List commands = new ArrayList<>(3); commands.add("mkdir " + getSystemFolder()); // create app directory if not existing + commands.add("chmod 755 " + getSystemFolder()); commands.add("cat " + context.getPackageCodePath() + " > " + getInstallPath() + ".tmp"); commands.add("chmod 644 " + getInstallPath() + ".tmp"); return commands;