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 81492dbe04
commit 7e8d02defb
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,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 $?