[Pkg-libvirt-commits] [libguestfs] 55/266: ./run: chcon the tmp directory in the builddir.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:41 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.35-1
in repository libguestfs.

commit b6cb67d958f5f9ac96b885c8e792beca2d6cac18
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Aug 4 14:51:30 2014 +0100

    ./run: chcon the tmp directory in the builddir.
    
    Not just some random tmp directory which happens to be in the
    local directory.
---
 run.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.in b/run.in
index f09b8fd..c598468 100755
--- a/run.in
+++ b/run.in
@@ -60,7 +60,7 @@ export T
 export LIBGUESTFS_TMPDIR="$b/tmp"
 export LIBGUESTFS_CACHEDIR="$b/tmp"
 mkdir -p "$b/tmp"
-chcon --reference=/tmp tmp 2>/dev/null ||:
+chcon --reference=/tmp "$b/tmp" 2>/dev/null ||:
 
 # Only set path if the appliance was enabled.
 if [ "x at ENABLE_APPLIANCE@" = "xyes" ]; then

-- 
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