bug 8955: add umask 022 to make sure we can get read permission for user data

status 8955: resolved fixed
This commit is contained in:
Edison Su 2011-04-26 17:32:57 -04:00
parent d5c7258b71
commit 39544e63d3
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ copy_vm_data_file() {
local file=$4
local dataFile=$5
umask 022
chmod +r $dataFile
scp -P $PORT -o StrictHostKeyChecking=no -i $cert $dataFile root@$domrIp:/var/www/html/$folder/$vmIp/$file >/dev/null
return $?