aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-02-11 16:16:10 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-02-11 16:16:10 +0100
commit80babc1eba13df1c4ed257099b610be804e8fce5 (patch)
treed80c74be8aeaa88444baf06e6871f36fe31ecf0a
parentfac693de3881f996d50508d2e1891cc6f18276ac (diff)
wgtpkg-zip: fix bug of modes
Change-Id: If6a31f5e308003b49b3c2fa9b8a05455a8ad553d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/wgtpkg-zip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wgtpkg-zip.c b/src/wgtpkg-zip.c
index f7813c4..caae1c9 100644
--- a/src/wgtpkg-zip.c
+++ b/src/wgtpkg-zip.c
@@ -33,8 +33,8 @@
#include "wgtpkg-workdir.h"
#include "wgtpkg-zip.h"
-#define MODE_OF_FILE_CREATION 0640
-#define MODE_OF_DIRECTORY_CREATION 0750
+#define MODE_OF_FILE_CREATION 0644
+#define MODE_OF_DIRECTORY_CREATION 0755
#if !defined(USE_LIBZIP)
# define USE_LIBZIP 1