[Pkg-libvirt-commits] [libguestfs] 133/146: launch: libvirt: When debugging the appliance dir, use 'ls -R'.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 29 17:01:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit 5fb75092d16afc7bd01173ba2f0e4b2fb199b510
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Sat Jan 24 08:47:00 2015 +0000
launch: libvirt: When debugging the appliance dir, use 'ls -R'.
Since libguestfs >= 1.26 / supermin 5, the appliance has lived in a
subdirectory of $TMPDIR/.guestfs-$UID. As a result using 'ls -l'
didn't display any information about the files in the appliance.
Using '-R' causes this information to be displayed again.
(cherry picked from commit 987273ebd019dbc63a87922db2807feb5743290b)
---
src/launch-libvirt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 9e7b10e..aaa8501 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -850,6 +850,7 @@ debug_appliance_permissions (guestfs_h *g)
guestfs___cmd_add_arg (cmd, "ls");
guestfs___cmd_add_arg (cmd, "-a");
guestfs___cmd_add_arg (cmd, "-l");
+ guestfs___cmd_add_arg (cmd, "-R");
guestfs___cmd_add_arg (cmd, "--lcontext");
guestfs___cmd_add_arg (cmd, appliance);
guestfs___cmd_set_stdout_callback (cmd, debug_permissions_cb, NULL, 0);
--
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