]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Update _resize_volume_file() to support appropriate permissions
authorSasikanth <sasikanth.eda@in.ibm.com>
Mon, 23 Jun 2014 14:10:12 +0000 (19:40 +0530)
committerSasikanth <sasikanth.eda@in.ibm.com>
Mon, 23 Jun 2014 14:14:06 +0000 (19:44 +0530)
commitea56cf255ac956d23eba5bb4f6e7312b944eb5fb
tree13cc059fc6818eb1bf5df96737e24190025a77cc
parent511fca5568cc92bb63b78cb7c2bed48b53388bfb
Update _resize_volume_file() to support appropriate permissions

ibmnas driver inherits _set_rw_permissions_for_all() from nfs.py
which sets 666 to the volumes. Changes are expected to be made in
nfs.py such that it sets 600 or 660 permissions, by doing so
ibmnas driver fails performing the operation _resize_volume_file()

Adding run_as_root in resize_volume operation.

Change-Id: Iecaf111f96f93b4e24bd81edd6aa82829113b4bb
Closes-Bug: #1333252
cinder/volume/drivers/ibm/ibmnas.py