From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from oldp.astro.wisc.edu ([128.104.39.15]) by hawkwind.utcs.toronto.edu with SMTP id <2706>; Thu, 27 May 1993 01:31:35 -0400 Received: by oldp.astro.wisc.edu (5.65/DEC-Ultrix/4.3) id AA19953; Thu, 27 May 1993 00:31:30 -0500 Message-Id: <9305270531.AA19953@oldp.astro.wisc.edu> To: rc@hawkwind.utcs.toronto.edu Subject: umask Date: Thu, 27 May 1993 01:31:30 -0400 From: Alan Watson X-Mts: smtp What a day. Is there a reason why rc barfs on a umask greater than 0777? I have just modifed one of my scripts to protect a temporary file by doing: umask = `{ umask } umask 077 ... umask $umask and it now doesn't work properly if I use an escape from vi inside MH, as MH sets umask to 7177 (quite why I don't know). sh and sh5 seem to perform a umask (value & 0777), csh and bash give an error message if the value is > 0777, but ksh goes ahead and does it.