case "${ACTION}" in
post)
	chown nethack:nethack usr/lib/nethack/nethack
	chmod 02755 usr/lib/nethack/nethack
	touch var/games/nethack/logfile var/games/nethack/perm var/games/nethack/record
	chown nethack:nethack var/games/nethack var/games/nethack/*
	chmod 0775 var/games/nethack
	chmod 0664 var/games/nethack/logfile var/games/nethack/perm var/games/nethack/record
	;;
esac
