Change defualt fs permissions
authorcharles <charles>
Fri, 18 Sep 2009 00:46:11 +0000 (00:46 +0000)
committercharles <charles>
Fri, 18 Sep 2009 00:46:11 +0000 (00:46 +0000)
yportenv.h

index 28e205bbd8cb2c4c3d1603aa119d92822e9d210b..4a8b7f76c6a997f5702c1786ec43e114c688f993 100644 (file)
@@ -74,8 +74,8 @@
 /* KR - added for use in scan so processes aren't blocked indefinitely. */
 #define YYIELD() schedule()
 
 /* KR - added for use in scan so processes aren't blocked indefinitely. */
 #define YYIELD() schedule()
 
-#define YAFFS_ROOT_MODE                        0666
-#define YAFFS_LOSTNFOUND_MODE          0666
+#define YAFFS_ROOT_MODE                        0755
+#define YAFFS_LOSTNFOUND_MODE          0700
 
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 0))
 #define Y_CURRENT_TIME CURRENT_TIME.tv_sec
 
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 0))
 #define Y_CURRENT_TIME CURRENT_TIME.tv_sec
 #define YAFFS_LOSTNFOUND_PREFIX                "obj"
 /* #define YPRINTF(x) printf x */
 
 #define YAFFS_LOSTNFOUND_PREFIX                "obj"
 /* #define YPRINTF(x) printf x */
 
-#define YAFFS_ROOT_MODE                                0666
-#define YAFFS_LOSTNFOUND_MODE          0666
+#define YAFFS_ROOT_MODE                        0755
+#define YAFFS_LOSTNFOUND_MODE          0700
 
 #define yaffs_SumCompare(x, y) ((x) == (y))
 #define yaffs_strcmp(a, b) strcmp(a, b)
 
 #define yaffs_SumCompare(x, y) ((x) == (y))
 #define yaffs_strcmp(a, b) strcmp(a, b)