mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 06:44:41 +01:00
added noperm to mount command in mounts.sh
This commit is contained in:
parent
6143f026d2
commit
0bf931d78f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user