diff --git a/clients/android/app/src/main/java/org/camlistore/UploadApplication.java b/clients/android/app/src/main/java/org/camlistore/UploadApplication.java index 14733ff63..61ff11eea 100644 --- a/clients/android/app/src/main/java/org/camlistore/UploadApplication.java +++ b/clients/android/app/src/main/java/org/camlistore/UploadApplication.java @@ -65,7 +65,7 @@ public class UploadApplication extends Application { String writingFilePath = dstFile + ".writing"; Log.d(TAG, "wrote out " + writingFilePath); - Runtime.getRuntime().exec("chmod 0777 " + writingFilePath); + Runtime.getRuntime().exec("chmod 0700 " + writingFilePath); Log.d(TAG, "did chmod 0700 on " + writingFilePath); Runtime.getRuntime().exec("mv " + writingFilePath + " " + dstFile); f = new File(dstFile);