From: tholo Date: Fri, 28 Mar 1997 18:56:20 +0000 (+0000) Subject: Set umask so save files are writeable by hack X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a7a85d61afb235c3383b27d24b888084efeaebe3;p=openbsd Set umask so save files are writeable by hack --- diff --git a/games/hack/hack.main.c b/games/hack/hack.main.c index 4772ae29bca..4b2e06fe654 100644 --- a/games/hack/hack.main.c +++ b/games/hack/hack.main.c @@ -123,6 +123,7 @@ char *argv[]; */ gettty(); setbuf(stdout,obuf); + umask(007); setrandom(); startup(); cls();