InstallIntoSystem: Apks are fine being 644, no need for 655

See #364
This commit is contained in:
Daniel Martí 2015-08-10 17:08:01 -07:00
parent 052f411433
commit 4e0808449d

View File

@ -102,7 +102,7 @@ abstract class InstallIntoSystem {
protected List<String> getCopyToSystemCommands() {
final List<String> 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<String> 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;
}