Added chmod a+x for local SSD when disk is created with NODE_LOCAL_SSDS

This commit is contained in:
David Zhu 2018-03-22 16:03:03 -07:00
parent e81965d456
commit d3670856dd

View File

@ -183,6 +183,7 @@ function safe-format-and-mount() {
mkdir -p "${mountpoint}"
echo "Mounting '${device}' at '${mountpoint}'"
mount -o discard,defaults "${device}" "${mountpoint}"
chmod a+w "${mountpoint}"
}
# Gets a devices UUID and bind mounts the device to mount location in