mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
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:
parent
c3f09963af
commit
f597e81aab
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user