diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-03-28 18:56:21 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-03-28 18:56:21 +0000 |
commit | 773a6fe22b51d56f67af976e69c07ef60046990e (patch) | |
tree | a93e39b1ff68a18c37675a3ad843e1249781e3ce /games | |
parent | affd824a0002ce11ef03f3139338d258877be564 (diff) |
Set umask so save files are writeable by hack
Diffstat (limited to 'games')
-rw-r--r-- | games/hack/hack.main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |