diff --git a/srcpkgs/nethack/INSTALL b/srcpkgs/nethack/INSTALL index c2572f904ac..9ff2ba84406 100644 --- a/srcpkgs/nethack/INSTALL +++ b/srcpkgs/nethack/INSTALL @@ -1,8 +1,10 @@ case "${ACTION}" in post) chown nethack:nethack usr/lib/nethack/nethack - chmod 04755 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 diff --git a/srcpkgs/nethack/template b/srcpkgs/nethack/template index 3b1bcbd2e53..9964b375283 100644 --- a/srcpkgs/nethack/template +++ b/srcpkgs/nethack/template @@ -1,8 +1,8 @@ # Template file for 'nethack' pkgname=nethack version=3.4.3 -revision=1 -make_dirs="/var/games/nethack/save 0755 nethack root" +revision=2 +make_dirs="/var/games/nethack/save 0775 nethack nethack" system_accounts="$pkgname" nethack_homedir="/var/empty" hostmakedepends="ncurses-devel flex groff"