[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH v2 2/3] ts-depriv-audit-qemu: chmod +x qemu's chroot

libxl creates this directory with mode 0.  That prevents
fishdescriptor from working.  chmod it.  This is OK for testing.

CC: George Dunlap <george.dunlap@xxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
 ts-depriv-audit-qemu | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ts-depriv-audit-qemu b/ts-depriv-audit-qemu
index d5bf10c9..599bdf6d 100755
--- a/ts-depriv-audit-qemu
+++ b/ts-depriv-audit-qemu
@@ -49,6 +49,7 @@ END
         uid=$(id -u xen-qemuuser-range-base)
         uid=$(( $uid + $domid ))
         qroot=$(readlink /proc/$qpid/root)
+        chmod a+x $qroot
         mkdir -pm 2755 $qroot/run/user
         if mkdir -m 2700 $qroot/run/user/$uid; then
             chown $uid:root $qroot/run/user/$uid

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.