[Pkg-libvirt-commits] [libguestfs] 28/66: Revert "v2v: -o rhev: Chown the image files and metadata after the upload."
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:47:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.54-1
in repository libguestfs.
commit 1b9b4af7246c98c426801310bc61457c8872a8e9
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Sep 22 18:13:34 2014 +0100
Revert "v2v: -o rhev: Chown the image files and metadata after the upload."
This reverts commit dd58cde929ade2dd6bc216aac21658ed3b3f51aa.
---
v2v/output_rhev.ml | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/v2v/output_rhev.ml b/v2v/output_rhev.ml
index f155357..b90d200 100644
--- a/v2v/output_rhev.ml
+++ b/v2v/output_rhev.ml
@@ -240,16 +240,6 @@ object
doc_to_chan chan ovf;
close_out chan;
- (* Try to chown the images and metadata. *)
- let cmd = sprintf "chown -R 36.36 %s %s" (quote dir) (quote image_dir) in
- if verbose then eprintf "%s\n%!" cmd;
- if Sys.command cmd <> 0 then (
- (* Note: Don't print the mountpoint in the message below. *)
- warning ~prog (f_"could not chown newly created RHEV files and directories to 36.36. You may need to do this by hand, otherwise RHEV-M may give errors when trying to import this domain.\n\nThe directories (and all files inside) that have to be owned by 36.36 are:\n%s\n%s")
- (esd_uuid // "master" // "vms" // vm_uuid)
- (esd_uuid // "images" // image_uuid)
- );
-
(* Finished, so don't delete the target directory on exit. *)
delete_target_directory <- false
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list