Skip to content

Commit

Permalink
Btrfs: fixup dbfile perms
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason authored and David Woodhouse committed Feb 26, 2007
1 parent fec577f commit c673024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c673024

Please sign in to comment.