tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Becki Kain <beckers () josephus ! furph ! com>
To: tru64-unix-managers
Subject: cc wierdness
Date: Fri, 27 Mar 1998 22:58:05 +0000	[thread overview]
Message-ID: <96078701111749.tru64-unix-managers.marc@archive.invalid> (raw)

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'

                 reply	other threads:[~1998-03-27 22:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox