libvirt/src/storage
John Ferlan ce6506b0bc storage: Really fix setting mode for backend exec in NFS root-squash env
https://bugzilla.redhat.com/show_bug.cgi?id=1282288

Although commit id '77346f27' resolves part of the problem regarding creating
a qemu-img image in an NFS root-squash environment, it really didn't fix the
entire problem. Unfortunately it only masked the problem. It seems qemu-img
must open/create the image using 0644, which if used by target.perms would
result in the chmod not being called since the mode desired and set match.

Although qemu-img could conceivably ignore the mode when creating, libvirt
has more knowledge of the environment and can make the adjustment to the
mode far more easily by using virFileOpenAs with VIR_FILE_OPEN_FORCE_MODE.
If that's successful, then we know on return the file will have the right
owner and mode, so we can declare success
2015-11-20 17:07:13 -05:00
..
parthelper.c Remove unnecessary curly brackets in src/storage/ 2014-11-14 17:13:01 +01:00
storage_backend_disk.c storage: Adjust calculation of alloc/capacity for disk 2015-10-05 08:14:44 -04:00
storage_backend_disk.h
storage_backend_fs.c virfile: Rename virFileUnlink to virFileRemove 2015-09-21 08:24:16 -04:00
storage_backend_fs.h storage: add file functions for local and block files 2014-02-14 10:47:57 +01:00
storage_backend_gluster.c Revert "Restore skipping of setting capacity" 2015-03-02 08:07:11 +01:00
storage_backend_gluster.h storage: Add storage file backends for gluster 2014-02-14 11:07:23 +01:00
storage_backend_iscsi.c iscsi: do not fail to stop a stopped pool 2015-04-30 13:05:10 +02:00
storage_backend_iscsi.h Move functions using iscsiadm to viriscsi.c 2014-03-20 18:04:50 +01:00
storage_backend_logical.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
storage_backend_logical.h
storage_backend_mpath.c mpath: Update path in CheckPool function 2015-06-30 08:47:02 -04:00
storage_backend_mpath.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
storage_backend_rbd.c rbd: Remove snapshots if the DELETE_WITH_SNAPSHOTS flag has been provided 2015-10-27 16:12:12 -04:00
storage_backend_rbd.h
storage_backend_scsi.c storage: Don't assume storage pool exists for FC/SCSI refresh thread 2015-11-12 06:30:33 -05:00
storage_backend_scsi.h
storage_backend_sheepdog.c storage: Remove duplicitous refreshVol in Sheepdog buildVol 2015-10-13 18:03:55 -04:00
storage_backend_sheepdog.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
storage_backend_zfs.c storage: Remove unused attribute conn from 'checkPool' callback 2015-04-02 11:57:07 +02:00
storage_backend_zfs.h storage: ZFS support 2014-08-12 19:40:20 +04:00
storage_backend.c storage: Really fix setting mode for backend exec in NFS root-squash env 2015-11-20 17:07:13 -05:00
storage_backend.h storage: On 'buildVol' failure don't delete the volume 2015-11-04 07:21:11 -05:00
storage_driver.c storage: Introduce virStoragePoolObjFindPoolByUUID 2015-11-12 06:30:32 -05:00
storage_driver.h storage: Introduce virStoragePoolObjFindPoolByUUID 2015-11-12 06:30:32 -05:00