allow "others" to read created dumm files/folders
authorMartin Willi <martin@strongswan.org>
Mon, 11 May 2009 14:38:04 +0000 (16:38 +0200)
committerMartin Willi <martin@strongswan.org>
Mon, 11 May 2009 14:38:04 +0000 (16:38 +0200)
src/dumm/guest.c

index 54bc453..969a2a9 100644 (file)
@@ -36,8 +36,8 @@
 #include "mconsole.h"
 #include "cowfs.h"
 
-#define PERME (S_IRWXU | S_IRWXG)
-#define PERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP)
+#define PERME (S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)
+#define PERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH)
 
 #define MASTER_DIR "master"
 #define DIFF_DIR "diff"