From 579e907d6023d334a2841fb2384362f6a3c851a5 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Fri, 22 Jan 2016 13:35:50 +0800 Subject: Android 6.0 needs permission +x to create screenshot files Change-Id: Id4a6c04712238b86787696337874239591082d39 Signed-off-by: Xuefer --- gui/action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/action.cpp b/gui/action.cpp index fe2091026..803d31355 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -928,7 +928,7 @@ int GUIAction::screenshot(std::string arg __unused) 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); -- cgit v1.2.3