devel: get the ownership of the directories right in tmpfs.sh
authorAndrew Tridgell <tridge@samba.org>
Fri, 26 Feb 2010 07:19:23 +0000 (18:19 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 26 Feb 2010 07:19:27 +0000 (18:19 +1100)
source4/scripting/devel/tmpfs.sh

index 14e9b276c65bf5e859c285de5a2ce8627d624afd..44ee04b2cef2edf216b93115c9e85b88278b8365 100755 (executable)
@@ -9,8 +9,8 @@ sudo umount bin > /dev/null 2>&1
 sudo umount st  > /dev/null 2>&1 
 mkdir -p bin st || exit 1
 sudo mount -t tmpfs /dev/null bin || exit 1
-sudo chown $USER bin || exit 1
+sudo chown $USER bin/. || exit 1
 echo "tmpfs setup for bin/"
 sudo mount -t tmpfs /dev/null st || exit 1
-sudo chown $USER st || exit 1
+sudo chown $USER st/. || exit 1
 echo "tmpfs setup for st/"