Subject: 4.0_BETA move-if-change Permission denied
To: None <current-users@NetBSD.org>
From: Kirk Russell <kirk@ba23.org>
List: current-users
Date: 09/04/2006 18:46:32
Hello,

It appears that I cannot use the NetBSD 4.0_BETA source archives to
build.  I get an "Permission denied" error:

nbgmake[1]: execvp: /bstg/netbsd-4/usr/src/tools/gcc/../../gnu/dist/gcc4/libcpp/../move-if-change: Permission denied

http://mail-index.netbsd.org/tech-toolchain/2006/08/15/0004.html

I noticed that the perms in the archives are different than in cvs.
I assume this is the root cause -- What am I missing?  Thanks.

- from cvs
$ ls -rlt usr/src/gnu/dist/*/move-if-change
-rwx------  1 kirk  wsrc  880 Sep  4 18:09 usr/src/gnu/dist/binutils/move-if-change*
-rwx------  1 kirk  wsrc  880 Sep  4 18:09 usr/src/gnu/dist/gcc/move-if-change*
-rwx------  1 kirk  wsrc  884 Sep  4 18:09 usr/src/gnu/dist/gcc4/move-if-change*
-rwx------  1 kirk  wsrc  880 Sep  4 18:09 usr/src/gnu/dist/gdb/move-if-change*
-rwx------  1 kirk  wsrc  384 Sep  4 18:09 usr/src/gnu/dist/gdb6/move-if-change*

- from the archive
$ wget -q ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/200609020000Z/source/sets/gnusrc.tgz
$ md5 gnusrc.tgz
MD5 (gnusrc.tgz) = a4039c9d7710bd8c6b38c61e4c92f19f
$ tar plzvtf gnusrc.tgz | fgrep if-change
-rw-rw-r--  1 root     wsrc         229 Nov 14  2001 usr/src/gnu/dist/autoconf/config/move-if-change
-rw-rw-r--  1 root     wsrc         880 Nov 26  2003 usr/src/gnu/dist/binutils/move-if-change
-rw-rw-r--  1 root     wsrc         880 Jul 25  2003 usr/src/gnu/dist/gcc/move-if-change
-rw-rw-r--  1 root     wsrc         229 Jul 22  2003 usr/src/gnu/dist/gcc/gcc/move-if-change
-rw-rw-r--  1 root     wsrc         884 Apr 20 04:21 usr/src/gnu/dist/gcc4/move-if-change
-rw-rw-r--  1 root     wsrc         880 Aug 11  2003 usr/src/gnu/dist/gdb/move-if-change
-rw-rw-r--  1 root     wsrc         384 May 15 10:08 usr/src/gnu/dist/gdb6/move-if-change


-- 
Kirk Russell            <kirk@ba23.org>            http://www.ba23.org/
Bridlewood Software Testers Guild                  Ottawa Ontario Canada