commit | 579e907d6023d334a2841fb2384362f6a3c851a5 | [log] [tgz] |
---|---|---|
author | Xuefer <xuefer@gmail.com> | Fri Jan 22 13:35:50 2016 +0800 |
committer | Dees Troy <dees_troy@teamw.in> | Fri Jan 22 18:50:07 2016 +0100 |
tree | f4c31359224d12842ff27693302707e14b7684af | |
parent | 72a85203693070a50e6578d785d5be739ea95129 [diff] [blame] |
Android 6.0 needs permission +x to create screenshot files Change-Id: Id4a6c04712238b86787696337874239591082d39 Signed-off-by: Xuefer <xuefer@gmail.com>
diff --git a/gui/action.cpp b/gui/action.cpp index fe20910..803d313 100644 --- a/gui/action.cpp +++ b/gui/action.cpp
@@ -928,7 +928,7 @@ strcpy(path, "/tmp/"); } - if(!TWFunc::Create_Dir_Recursive(path, 0666, uid, gid)) + if(!TWFunc::Create_Dir_Recursive(path, 0775, uid, gid)) return 0; tm = time(NULL);