Commit 60eb9f6f authored by Gonzalo S Nido's avatar Gonzalo S Nido
Browse files

Update process_by_sampleid.sh

parent 3dbf7004
......@@ -132,9 +132,11 @@ if [[ $isMounted != 0 ]]; then
sudo umount ${results_folder}
fi
USR_ID=$( id -u )
GRP_ID=$( id -g )
sudo mount -t cifs //${storageAccountResults}.file.core.windows.net/${shareNameResults} \
${results_folder} \
-o vers=3.0,credentials=/etc/smbcredentials/${storageAccountResults}.cred,dir_mode=0755,file_mode=0644,serverino,gid=1000,uid=1000,forceuid,forcegid
-o vers=3.0,credentials=/etc/smbcredentials/${storageAccountResults}.cred,dir_mode=0777,file_mode=0666,serverino,gid=${USR_ID},uid=${GRP_ID},forceuid,forcegid
if [[ $? != 0 ]]; then
echo " [ERROR] Could not mount file share for RESULTS"
......
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