* For some reason Samba insists on setting the g+w bit on newly

created directories, which is a security risk.  So create $out with
  the proper permissions before starting the VM.

svn path=/nixpkgs/trunk/; revision=27095
This commit is contained in:
Eelco Dolstra 2011-05-02 14:55:16 +00:00
parent 077fd0a77c
commit aa5646ff3b

View File

@ -274,6 +274,8 @@ rec {
${qemuCommand}
EOF
mkdir -p -m 0700 $out
chmod +x ./run-vm
source ./run-vm
@ -602,7 +604,7 @@ rec {
installPhase = ''
eval "$preInstall"
ensureDir $out/$outDir
find $rpmout -name "*.rpm" -exec cp {} $out/$outDir \;