X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=yportenv.h;h=4a8b7f76c6a997f5702c1786ec43e114c688f993;hb=3eeb7039cdf6bfef271c20ea3e579a120af5e251;hp=28e205bbd8cb2c4c3d1603aa119d92822e9d210b;hpb=3e5718ec7f0df7b76837d10583419b745cb27474;p=yaffs2.git diff --git a/yportenv.h b/yportenv.h index 28e205b..4a8b7f7 100644 --- a/yportenv.h +++ b/yportenv.h @@ -74,8 +74,8 @@ /* 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 @@ -146,8 +146,8 @@ #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)