[3886] in Athena Bugs
mkserv rtpc 6.4r
daemon@ATHENA.MIT.EDU (geer@ATHENA.MIT.EDU)
Thu Jan 4 09:08:26 1990
From: geer@ATHENA.MIT.EDU
Date: Thu, 4 Jan 90 09:08:06 -0500
To: bugs@ATHENA.MIT.EDU
i just ran `mkserv remote` on my workstation, and discovered
(after a bit...) that mkserv's need to create the the /site/server
hierarchy is not protected from oddball umasks (such as mine).
consequently, i ended up with a mode 700 /site/server, leading
to an inability to login, since /usr/athena/lib/init/xsession
is linked through that directory. (a different issue ;-)
i'd suggest an explicit set of the umask in the business end of
/srvd/servers/mkserv, probably about like this:
***************
*** 40,45 ****
--- 40,46 ----
exit 1
endif
+ umask 22
set path = ( $SRVDIR/`machtype`bin $path )
setenv VERS `/usr/ucb/tail -1 /\fIetc.\fP/version | /bin/awk 'NR == 1 {print $5}' `
setenv MACH `machtype -c`
--dan