[Virtualmin Virtual Servers Module][1]

add this

if [ -f $1/.textdrive ]

then exit

fi

touch $1/.textdrive

chmod 000 $1/.textdrive

chflags uchg $1/.textdrive

find -E . -regex ‘.*/(public_html|logs|web/public)’ -exec ./lockit {} \;

[1]: http://www.swelltech.com/support/virtual-servers/index.html#vsmoduleconfiguration