xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <ian.jackson@eu.citrix.com>,
	George Dunlap <george.dunlap@citrix.com>
Subject: [OSSTEST PATCH 2/3] ts-depriv-audit-qemu: chmod +x qemu's chroot
Date: Mon, 19 Nov 2018 16:27:40 +0000	[thread overview]
Message-ID: <20181119162741.17663-2-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <20181119162741.17663-1-ian.jackson@eu.citrix.com>

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

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

diff --git a/ts-depriv-audit-qemu b/ts-depriv-audit-qemu
index 4e07d76..8175008 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/8123/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
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2018-11-19 16:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-19 16:27 [OSSTEST PATCH 1/3] ts-depriv-audit-qemu: Create complete /run/user in appropriate root Ian Jackson
2018-11-19 16:27 ` Ian Jackson [this message]
2018-11-19 16:27 ` [OSSTEST PATCH 3/3] productionc-config*: Update to fishdescriptor with chroot bugfix Ian Jackson
2018-11-19 16:45 ` [OSSTEST PATCH 1/3] ts-depriv-audit-qemu: Create complete /run/user in appropriate root George Dunlap
2018-11-19 16:53   ` Ian Jackson
2018-11-19 16:58     ` George Dunlap
2018-11-19 17:04       ` Ian Jackson
2018-11-19 17:24 ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181119162741.17663-2-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=george.dunlap@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).