Virtualmin Virtual Servers Module

Virtualmin Virtual Servers Module

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 {} \;

Advertisements