Rev 3832 | Rev 3872 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#! /bin/sh
#
# This small script is used to fix the uid of wrap..exec.
# It must be run as root.
#
if [ ! "$(id -ru )" = 0 ]; then
echo
echo Please run this script as root!
echo
echo
exit
fi
cd `dirname $0`/..
for f in public_html/bin/wrap..exec bin/wimsd
do
if [ -f $f ]; then
chown nobody $f
chmod go-rwx $f
chmod u+s $f
fi
done
chown root public_html/bin/ch..root
chmod go-rwx public_html/bin/ch..root
chmod u+s public_html/bin/ch..root
rm -f log/unsecure