Another quick note on "S"

Rsk the Wombat ab3 at stat-l
Sat May 19 04:00:38 AEST 1984


(Maybe we need a mailing list for S...)

The shell script ~s/S which is created when you SYSGEN the S package
has a line in which reads:

0)	if test ! -w .; then echo Cannot write in directory `pwd`; exit 1; fi

Unfortunately, [under 4.2] the test *always* fails (since mere mortals cannot 
write in a directory); this is not desirable behavior.  This is because 
test(1) uses access(2) in a reasonable, but perhaps not quite optimal, way.
So, until we get around to hacking test(1), the fix to ~s/S is:

Delete that line!

-- 
Rsk the Wombat
UUCP: { allegra, decvax, ihnp4, harpo, teklabs, ucbvax } !pur-ee!rsk
      { cornell, eagle, hplabs, ittvax, lanl-a, ncrday } !purdue!rsk



More information about the Comp.unix.wizards mailing list