mirror of https://github.com/perkeep/perkeep.git
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:
parent
a0d3b30657
commit
d29f4c24a9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue