mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-28 00:12:47 +00:00
fixup dbfile perms
This commit is contained in:
parent
8f3b86bae3
commit
67a8d4bbac
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user