2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Add execute permision to all files recursively under /xcatpost on the Compute Node.

This commit is contained in:
Wai Yee Wong 2020-04-09 17:09:12 -04:00
parent 79fa2c4e33
commit 10fe1b81f6

View File

@ -145,7 +145,10 @@ then
/tmp/updateflag "$MASTER" "$XCATIPORT" "installstatus failed"
sleep infinity
fi
find /xcatpost -type f -maxdepth 1 -exec chmod 0755 {} +
# Add execute permision to all files recursively under /xcatpost.
chmod -R +x `find /xcatpost/ -maxdepth 1 -print | grep -E -v '^(/xcatpost/|/xcatpost/_xcat|/xcatpost/_ssh|/xcatpost/ca|/xcatpost/hostkeys)$'`
msgutil_r "$MASTER_IP" "info" "postscripts downloaded successfully" "/var/log/xcat/xcat.log" "$log_label"
# Get the precreated mypostscript file