clients/android: fix permissions of camput binary

While the log message claims that the permissions of the camput binary
were set to 0700, they were actually set to 0777.

Change-Id: Ic5adbc05af161431823a3fb1685af5fa9a4b6647
This commit is contained in:
Tilman Dilo 2017-06-17 15:13:05 +02:00
parent a0d3b30657
commit d29f4c24a9
1 changed files with 1 additions and 1 deletions

View File

@ -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);