Skip to content

Commit

Permalink
added noperm to mount command in mounts.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastermindzh committed Oct 20, 2019
1 parent 6143f02 commit 0bf931d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash/mounts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ for MOUNTS in ${!MOUNTS@}; do
SERVER_LOCATION="$MY_SERVER_LOCATION/${MOUNTS[share]}"
MOUNT_LOCATION="$MOUNT_PREFIX/${MOUNTS[mount]}"

mount.cifs "$SERVER_LOCATION" "$MOUNT_LOCATION" -o user=mastermindzh,rw
mount.cifs "$SERVER_LOCATION" "$MOUNT_LOCATION" -o user=mastermindzh,noperm,rw

if [ $? -eq 0 ]; then
echo "Succesfully mounted $MOUNT_LOCATION"
Expand Down

0 comments on commit 0bf931d

Please sign in to comment.