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
81492dbe04
commit
7e8d02defb
|
|
@ -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 $?
|
||||
|
|
|
|||
Loading…
Reference in New Issue