[11281] in Athena Bugs

home help back first fref pref prev next nref lref last post

Permissions bug in /mit/cygnus/cygnus-930630/common/scripts/gcc

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Tue Oct 26 00:28:46 1993

Date: Tue, 26 Oct 93 00:28:37 EDT
From: tytso@MIT.EDU (Theodore Ts'o)
To: bugs@MIT.EDU


BUG:  The permissions on /mit/cygnus/cygnus-930630/common/scripts/gcc 
	are mode 700; it should be 755.

GNU Make uses the access() call when doing doing a path-search when
trying to execute programs in the makefile.  Since the gcc shell script
is mode 700 owned by reidmp, so the access() call fails.  Of course,
under AFS the permissions bits don't matter, but GNU Make doesn't know
this.  

Hence any attempt to use the gcc from gmake is doomed to failure:

<tytso@tsx-11>  {/afs/athena.mit.edu/user/t/y/tytso/test}, Level 3
1% set path = (/mit/cygnus/decmipsbin /bin /usr/bin /usr/ucb /usr/athena /bin/athena)
<tytso@tsx-11>  {/afs/athena.mit.edu/user/t/y/tytso/test}, Level 3
2% cat > Makefile

test:
        gcc -v
<tytso@tsx-11>  {/afs/athena.mit.edu/user/t/y/tytso/test}, Level 3
3% make test
gcc -v
make: gcc: Command not found
make: *** [test] Error 127


FIX:	chmod 755 /mit/cygnus/cygnus-930630/common/scripts/gcc

						- Ted



home help back first fref pref prev next nref lref last post