aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emelfm2/02-define_ALLPERMS.patch
blob: a5e9e4fddea980ed9d13047b46337dd6393005bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- emelfm2-0.9.1-origin/src/filesystem/e2_fs.h
+++ emelfm2-0.9.1/src/filesystem/e2_fs.h
@@ -25,6 +25,10 @@
 #ifndef __E2_FS_H__
 #define __E2_FS_H__
 
+#ifndef ALLPERMS
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */
+#endif
+
 #include "emelfm2.h"
 #include <unistd.h>
 #include <dirent.h>