From a02e294ae629be28bf5a74781a75c9dafb03244b Mon Sep 17 00:00:00 2001 From: David Personette Date: Fri, 3 Jul 2015 11:16:16 -0400 Subject: [PATCH] samba.sh cd to /tmp, so / can be RO --- samba.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samba.sh b/samba.sh index 6e9e8e6..4cccfb9 100755 --- a/samba.sh +++ b/samba.sh @@ -104,6 +104,8 @@ The 'command' (if provided and valid) will be run instead of samba exit $RC } +cd /tmp + while getopts ":hi:t:u:s:" opt; do case "$opt" in h) usage ;;