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'
Received on Fri Mar 27 1998 - 23:55:19 NZST