]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix chown fail for nfs file without necessary permission
authorNavneet Singh <singn@netapp.com>
Sat, 3 Aug 2013 12:46:44 +0000 (18:16 +0530)
committerNavneet Singh <singn@netapp.com>
Sat, 3 Aug 2013 12:55:49 +0000 (18:25 +0530)
commit1498958299ccb807f406e9d257848cb4259e49e4
treeb5ef3619c71c36e2c1c4ea863fb639c2a352e1db
parent0a2fc780ae5584846101277f1e332a220e8d9822
Fix chown fail for nfs file without necessary permission

chown failed in case of volumes on nfs export when the
permission is not granted on the storage system. Upload
volume only requires read access on the nfs file and hence
chown is not neccessary when current user has read permission.
Chown only executed when read is not granted to the user.

Change-Id: Ifa8eff7e79c6e4f15a1feb7cabec8cae8a0b0a83
Closes-Bug:#1221205
cinder/image/image_utils.py