Make sure images copied to the tftp path have the right permissions, so use dd instead of cp, which will obviously not preserve the original permissions.
Signed-off-by: Roger Pau Monné <roger....@citrix.com> Acked-by: Ian Jackson <ian.jack...@eu.citrix.com> --- ts-freebsd-host-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts-freebsd-host-install b/ts-freebsd-host-install index 321763b0..483b9aec 100755 --- a/ts-freebsd-host-install +++ b/ts-freebsd-host-install @@ -76,7 +76,8 @@ targetpath=$4 cd $basedir mkdir -p `dirname $sharedpath` if [ ! -f $sharedpath ]; then - cp $imagepath $sharedpath.tmp + rm $sharedpath.tmp + dd if=$imagepath of=$sharedpath.tmp mv $sharedpath.tmp $sharedpath fi rm -f $targetpath -- 2.11.0 (Apple Git-81) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel