mirror of https://github.com/apache/cloudstack.git
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:
parent
d5c7258b71
commit
39544e63d3
|
|
@ -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 $?
|
||||
|
|
|
|||
Loading…
Reference in New Issue