#!/bin/bash

MY_DISKS=(disk-by-id-0b911c7d-2079-4ea5-8891-a444cb10385b \
disk-by-id-0d43f59a-e714-4163-a976-7c1ce9f92c57 \
disk-by-id-11eacddd-50cd-4b0e-b5b4-a98b5345bca5 \
disk-by-id-15da14fc-c756-4b9e-beb7-9bf924400f2f \
disk-by-id-2df0212d-0a74-4940-bc89-844fcf332dbc \
disk-by-id-39d56650-4ffb-4889-971f-b545c9a1bd6c \
disk-by-id-4e3bc302-6806-42d2-9dd7-c4e8f03ae1c4 \
disk-by-id-52e5a1e5-a43b-4317-9b2d-5d8fc7d4c04e \
disk-by-id-5a55ea1d-c559-4425-8f26-0259220aa4c6 \
disk-by-id-5b7fbdde-b61b-4655-8c36-d63e38815c5c \
disk-by-id-66932afc-654c-4abf-af4b-90de96c661a2 \
disk-by-id-71b18337-84fb-4b55-92c7-83b69cf27cc9 \
disk-by-id-7a3bd189-adfc-4f71-8ef3-5f27d2c15c30 \
disk-by-id-8539b6d6-eec8-4109-a1c9-65c555617946 \
disk-by-id-86f5c3b7-bbab-466e-bb9a-dcf804bb9c24 \
disk-by-id-89ee2b7a-8f20-4564-9a79-58566565ad97 \
disk-by-id-8c2a4baf-e2d2-4796-beee-02bfe8cf0ef4 \
disk-by-id-95b05b44-ec57-4401-9dd8-70e6f875512b \
disk-by-id-96fd1f61-ad2a-49b3-895d-da794eb5be95 \
disk-by-id-a9d8348d-dec9-4571-bf77-8baaf5c9dec7 \
disk-by-id-c0f7a397-d6a0-471f-8782-48bd80938042 \
disk-by-id-da94c155-57af-4c9e-837f-82078e026481 \
disk-by-id-e7f52bc0-2e8e-4766-8cc5-346de135f595 \
disk-by-id-f30a77ef-5e9d-4b77-9429-09a5f79ce6da \
disk-by-id-f5f3d09b-6aee-4d65-97f3-b4a488386f76)

for MY_DISK in "${MY_DISKS[@]}"
    do
        sudo chmod 777 -R "/srv/$MY_DISK"
        #sudo chown root:users -R "/srv/$MY_DISK"        
        sleep 2
    done