Commit d3670856 authored by David Zhu's avatar David Zhu

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

parent e81965d4
...@@ -183,6 +183,7 @@ function safe-format-and-mount() { ...@@ -183,6 +183,7 @@ function safe-format-and-mount() {
mkdir -p "${mountpoint}" mkdir -p "${mountpoint}"
echo "Mounting '${device}' at '${mountpoint}'" echo "Mounting '${device}' at '${mountpoint}'"
mount -o discard,defaults "${device}" "${mountpoint}" mount -o discard,defaults "${device}" "${mountpoint}"
chmod a+w "${mountpoint}"
} }
# Gets a devices UUID and bind mounts the device to mount location in # Gets a devices UUID and bind mounts the device to mount location in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment