Merge remote-tracking branch 'qubesos/pr/169'

* qubesos/pr/169:
  volume.Import: write data with sufficient privs
This commit is contained in:
Marek Marczykowski-Górecki 2017-12-06 00:46:15 +01:00
джерело 7b81d7affa 21c3c2507e
коміт 658f7565db
Не вдалося знайти GPG ключ що відповідає даному підпису
Ідентифікатор GPG ключа: 063938BA42CFA724

@ -43,7 +43,7 @@ size=$(tail -c +3 "$tmpfile"|cut -d ' ' -f 1)
path=$(tail -c +3 "$tmpfile"|cut -d ' ' -f 2)
# now process stdin into this path
if dd bs=4k of="$path" count="$size" iflag=count_bytes,fullblock \
if sudo dd bs=4k of="$path" count="$size" iflag=count_bytes,fullblock \
conv=sparse,notrunc,nocreat,fdatasync status=none; then
status="ok"
else