From a7a85d61afb235c3383b27d24b888084efeaebe3 Mon Sep 17 00:00:00 2001 From: tholo Date: Fri, 28 Mar 1997 18:56:20 +0000 Subject: [PATCH] Set umask so save files are writeable by hack --- games/hack/hack.main.c | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.20.1