fixup dbfile perms

master
Chris Mason 2007-02-26 10:46:55 -05:00 committed by David Woodhouse
parent 8f3b86bae3
commit 67a8d4bbac
1 changed files with 1 additions and 1 deletions

View File

@ -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;