diff --git a/xCAT-server-2.0/share/xcat/scripts/setup-local-client.sh b/xCAT-server-2.0/share/xcat/scripts/setup-local-client.sh index c8f691f99..31c54862a 100755 --- a/xCAT-server-2.0/share/xcat/scripts/setup-local-client.sh +++ b/xCAT-server-2.0/share/xcat/scripts/setup-local-client.sh @@ -54,5 +54,7 @@ cp ca-cert.pem $USERHOME/.xcat/ca.pem chown -R $1 $USERHOME/.xcat find $USERHOME/.xcat -type f -exec chmod 600 {} \; find $USERHOME/.xcat -type d -exec chmod 700 {} \; +chmod 644 $USERHOME/.xcat/ca.pem +chmod 755 $USERHOME/.xcat cd -