Skip to content

Commit

Permalink
Merge "GlusterFS: Set permissions on qcow2 snapshot files"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Mar 5, 2014
2 parents 5fa417d + 186f239 commit 586b284
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cinder/volume/drivers/glusterfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ def _create_qcow2_snap_file(self, snapshot, backing_filename,
new_snap_path]
self._execute(*command, run_as_root=True)

self._set_rw_permissions_for_all(new_snap_path)

def _create_snapshot_offline(self, snapshot, path_to_disk):
"""Create snapshot (offline case)."""

Expand Down

0 comments on commit 586b284

Please sign in to comment.