mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-08-13 20:57:16 +02:00
added noperm to mount command in mounts.sh
This commit is contained in:
@@ -92,7 +92,7 @@ for MOUNTS in ${!MOUNTS@}; do
|
|||||||
SERVER_LOCATION="$MY_SERVER_LOCATION/${MOUNTS[share]}"
|
SERVER_LOCATION="$MY_SERVER_LOCATION/${MOUNTS[share]}"
|
||||||
MOUNT_LOCATION="$MOUNT_PREFIX/${MOUNTS[mount]}"
|
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
|
if [ $? -eq 0 ]; then
|
||||||
echo "Succesfully mounted $MOUNT_LOCATION"
|
echo "Succesfully mounted $MOUNT_LOCATION"
|
||||||
|
Reference in New Issue
Block a user