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>
This commit is contained in:
Justin Husted 2019-11-09 19:05:24 -08:00
parent c3f09963af
commit f597e81aab

View File

@ -1013,7 +1013,7 @@ int bch2_fs_initialize(struct bch_fs *c)
bch2_create_trans(&trans, BCACHEFS_ROOT_INO, bch2_create_trans(&trans, BCACHEFS_ROOT_INO,
&root_inode, &lostfound_inode, &root_inode, &lostfound_inode,
&lostfound, &lostfound,
0, 0, S_IFDIR|0755, 0, 0, 0, S_IFDIR|0700, 0,
NULL, NULL)); NULL, NULL));
if (ret) if (ret)
goto err; goto err;