diff options
author | Justin Husted <sigstop@gmail.com> | 2019-11-09 19:05:24 -0800 |
---|---|---|
committer | Justin Husted <sigstop@gmail.com> | 2019-11-09 19:05:24 -0800 |
commit | f597e81aab00d0f5174f104f967cbf20da7c51c7 (patch) | |
tree | ae523f12ce1de3613bba00fb3542f1356662acce | |
parent | c3f09963af8f2268aa0448a5d9ec1d99135121a2 (diff) |
Temporary fix for lost+found file permission.
lost+found should not be group or world readable. This is a staging fix
pending merge with the kernel tree.
Signed-off-by: Justin Husted <sigstop@gmail.com>
-rw-r--r-- | libbcachefs/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/recovery.c b/libbcachefs/recovery.c index 2c441a27..d1184bf6 100644 --- a/libbcachefs/recovery.c +++ b/libbcachefs/recovery.c @@ -1013,7 +1013,7 @@ int bch2_fs_initialize(struct bch_fs *c) bch2_create_trans(&trans, BCACHEFS_ROOT_INO, &root_inode, &lostfound_inode, &lostfound, - 0, 0, S_IFDIR|0755, 0, + 0, 0, S_IFDIR|0700, 0, NULL, NULL)); if (ret) goto err; |