From f597e81aab00d0f5174f104f967cbf20da7c51c7 Mon Sep 17 00:00:00 2001 From: Justin Husted Date: Sat, 9 Nov 2019 19:05:24 -0800 Subject: 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 --- libbcachefs/recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3