[Pkg-libvirt-commits] [libguestfs] 207/384: launch: libvirt: When debugging the appliance dir, use 'ls -R'.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 29 16:57:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit 987273ebd019dbc63a87922db2807feb5743290b
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.
---
src/launch-libvirt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 847c264..5a4328c 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