From 4935e17e56a6d5d9c4a0de4e1865800e583acca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 8 Feb 2013 18:11:20 +0100 Subject: [PATCH] updade mount options. --- filesystem/opt/groomer/groomer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filesystem/opt/groomer/groomer.sh b/filesystem/opt/groomer/groomer.sh index 1ee37cd..0c8ca2a 100755 --- a/filesystem/opt/groomer/groomer.sh +++ b/filesystem/opt/groomer/groomer.sh @@ -68,7 +68,7 @@ fi if mount|grep $DST; then umount $DST || true fi -mount -o noexec ${DEV_DST} ${DST} +mount -o noexec,nosuid,nodev ${DEV_DST} ${DST} if [ $? -ne 0 ]; then echo Unable to mount ${DEV_DST} on ${DST} exit @@ -98,7 +98,7 @@ do umount $SRC fi - mount -o noexec -r $partition $SRC + mount -o noexec,nosuid,nodev -r $partition $SRC if [ $? -ne 0 ]; then echo Unable to mount ${partition} on $SRC else