1 Date: Sat, 22 Apr 2000 06:07:06 -0600 (MDT)
2 From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
4 Cc: beebe@math.utah.edu, sysstaff@math.utah.edu, othmer@math.utah.edu
5 Subject: gawk-3.0.4 and a GNU/Linux gotcha
7 Yesterday, I was assisting a colleague install some software on his
8 GNU/Linux machine for which uname -r reports 2.2.14.
10 A (mis)feature of this system, which I've never encountered before,
11 broke the build of one of my programs, and also of gawk-3.0.4.
13 Namely, the kernel will not execute anything that resides in /tmp,
14 though it will if the same script is in /usr/tmp!
21 -rwxr-xr-x 1 othmer math 22 Apr 21 10:34 /tmp/foo.sh*
24 bash: /tmp/foo.sh: Permission denied
26 % cp /tmp/foo.sh /usr/tmp
31 Thus, programs that do a temporary install in /tmp, as some of mine do
32 in order to run the validation suite, will fail.
34 gawk-3.0.4, and likely other gawk versions, hits this problem too. It
35 fails because test/poundbang starts with
39 I tracked down where it comes from:
41 % grep /tmp /etc/fstab
42 /dev/hda3 /tmp ext2 rw,nosuid,noexec,nouser,auto,async,nodev 1 1
45 Since this is done via a mount command, potentially ANY directory tree
46 could be mounted with noexec.