From d7c9fad5742fa04708323709a82d138a97398a94 Mon Sep 17 00:00:00 2001 From: Lasse Hjorth Date: Thu, 16 May 2024 11:56:44 +0000 Subject: [PATCH] Make Netapp Volumes work with pre-existing nfs shares --- .../modules/file-system/cloud-storage-bucket/scripts/mount.sh | 3 +++ community/modules/file-system/nfs-server/scripts/mount.sh | 3 +++ modules/file-system/filestore/scripts/mount.sh | 3 +++ .../file-system/pre-existing-network-storage/scripts/mount.sh | 3 +++ 4 files changed, 12 insertions(+) diff --git a/community/modules/file-system/cloud-storage-bucket/scripts/mount.sh b/community/modules/file-system/cloud-storage-bucket/scripts/mount.sh index e2509fb4a1..4527c5bae4 100644 --- a/community/modules/file-system/cloud-storage-bucket/scripts/mount.sh +++ b/community/modules/file-system/cloud-storage-bucket/scripts/mount.sh @@ -56,3 +56,6 @@ fi echo "Mounting --target ${LOCAL_MOUNT} from fstab" mkdir -p "${LOCAL_MOUNT}" mount --target "${LOCAL_MOUNT}" + +# Support for Netapp Volumes +chmod a+x "${LOCAL_MOUNT}" diff --git a/community/modules/file-system/nfs-server/scripts/mount.sh b/community/modules/file-system/nfs-server/scripts/mount.sh index e2509fb4a1..4527c5bae4 100644 --- a/community/modules/file-system/nfs-server/scripts/mount.sh +++ b/community/modules/file-system/nfs-server/scripts/mount.sh @@ -56,3 +56,6 @@ fi echo "Mounting --target ${LOCAL_MOUNT} from fstab" mkdir -p "${LOCAL_MOUNT}" mount --target "${LOCAL_MOUNT}" + +# Support for Netapp Volumes +chmod a+x "${LOCAL_MOUNT}" diff --git a/modules/file-system/filestore/scripts/mount.sh b/modules/file-system/filestore/scripts/mount.sh index e2509fb4a1..4527c5bae4 100644 --- a/modules/file-system/filestore/scripts/mount.sh +++ b/modules/file-system/filestore/scripts/mount.sh @@ -56,3 +56,6 @@ fi echo "Mounting --target ${LOCAL_MOUNT} from fstab" mkdir -p "${LOCAL_MOUNT}" mount --target "${LOCAL_MOUNT}" + +# Support for Netapp Volumes +chmod a+x "${LOCAL_MOUNT}" diff --git a/modules/file-system/pre-existing-network-storage/scripts/mount.sh b/modules/file-system/pre-existing-network-storage/scripts/mount.sh index e2509fb4a1..4527c5bae4 100644 --- a/modules/file-system/pre-existing-network-storage/scripts/mount.sh +++ b/modules/file-system/pre-existing-network-storage/scripts/mount.sh @@ -56,3 +56,6 @@ fi echo "Mounting --target ${LOCAL_MOUNT} from fstab" mkdir -p "${LOCAL_MOUNT}" mount --target "${LOCAL_MOUNT}" + +# Support for Netapp Volumes +chmod a+x "${LOCAL_MOUNT}"