提交 c673024a 编写于 作者: C Chris Mason 提交者: David Woodhouse

Btrfs: fixup dbfile perms

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 fec577fb
......@@ -113,7 +113,7 @@ struct ctree_root *open_ctree(char *filename, struct ctree_super_block *super)
int fp;
int ret;
fp = open(filename, O_CREAT | O_RDWR);
fp = open(filename, O_CREAT | O_RDWR, 0600);
if (fp < 0) {
free(root);
return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册