From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111749.tru64-unix-managers.marc@archive.invalid> From: Becki Kain Date: Fri, 27 Mar 1998 22:58:05 +0000 To: tru64-unix-managers Subject: cc wierdness X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111749 This is under DU 4.0. The question is why is cc trying to write to the current directory when TMPDIR is set? gcc 2.7.2.2 can compile this code and the man page for cc states that this is what TMPDIR is to be used for. Any ideas? thanks beckers running as non-root: % gcc -o /usr/tmp/chkport /usr/tmp/chkport.c % cc -o /usr/tmp/chkport /usr/tmp/chkport.c cc: Severe: Permission denied ... file is 'chkport.o' % pwd /usr/var/tmp/cdrom/unix % ls -ld . drwxr-xr-x 2 root system 512 Mar 27 16:35 ./ % ls -ld .. drwxr-xr-x 3 root system 512 Feb 5 17:44 ../ % setenv TMPDIR /usr/tmp % cc -o /usr/tmp/chkport /usr/tmp/chkport.c cc: Severe: Permission denied ... file is 'chkport.o'