From: Chris Mason Date: Mon, 26 Feb 2007 15:46:55 +0000 (-0500) Subject: fixup dbfile perms X-Git-Tag: upstream/0.20.rc1~480 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67a8d4bbace7995bdc4f6c78cdbfb1f110c182cc;p=platform%2Fupstream%2Fbtrfs-progs.git fixup dbfile perms --- diff --git a/disk-io.c b/disk-io.c index f4c6ff2..c42dc72 100644 --- a/disk-io.c +++ b/disk-io.c @@ -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;