diff options
Diffstat (limited to 'block/backup.c')
-rw-r--r-- | block/backup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/backup.c b/block/backup.c index fe010e78e3..4b3c94c812 100644 --- a/block/backup.c +++ b/block/backup.c @@ -624,7 +624,8 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs, goto error; } - job->target = blk_new(); + /* FIXME Use real permissions */ + job->target = blk_new(0, BLK_PERM_ALL); blk_insert_bs(job->target, target); job->on_source_error = on_source_error; |