Commit c673024a authored by Chris Mason's avatar Chris Mason Committed by David Woodhouse

Btrfs: fixup dbfile perms

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent fec577fb
...@@ -113,7 +113,7 @@ struct ctree_root *open_ctree(char *filename, struct ctree_super_block *super) ...@@ -113,7 +113,7 @@ struct ctree_root *open_ctree(char *filename, struct ctree_super_block *super)
int fp; int fp;
int ret; int ret;
fp = open(filename, O_CREAT | O_RDWR); fp = open(filename, O_CREAT | O_RDWR, 0600);
if (fp < 0) { if (fp < 0) {
free(root); free(root);
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment