diff options
author | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-08-19 00:37:11 +0200 |
---|---|---|
committer | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-08-19 00:37:11 +0200 |
commit | f73e0df8d33d1183de0c04a24596863a042ee16b (patch) | |
tree | 5c83fa15d89fb21af2e2120ac830a658356e5f4d | |
parent | f4a069d316f2305577833be2ae8a5cf2e8bcc94a (diff) |
- Fixed x bit on directories
-rwxr-xr-x | src/mfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mfs_vnops.c b/src/mfs_vnops.c index da23177..4e1915e 100755 --- a/src/mfs_vnops.c +++ b/src/mfs_vnops.c @@ -66,7 +66,7 @@ static int mfs_getattr (const char *path, struct stat *stbuf) enum mfs_filetype type = mfs_get_filetype(path); switch (type) { case MFS_DIRECTORY: - stbuf->st_mode = S_IFDIR | 0444; + stbuf->st_mode = S_IFDIR | 0555; stbuf->st_nlink = 1; stbuf->st_size = 12; return 0; |