Subject: i386: buildfloppies.sh
To: None <netbsd-help@NetBSD.org>
From: Hsu, Cheng-Hsin (Cheng-Hsin) <chs@lucent.com>
List: netbsd-help
Date: 11/11/2003 11:09:55
Hello All,

	I use the following command to create i386 release:

./build.sh -U -u -m i386 -T ${WRK_DIR}/tools -M ${WRK_DIR}/obj -D ${WRK_DIR}/distribution -R ${WRK_DIR}/release tools release

	However, started from last month, I have to use root in order to create the release. If I build it with unprivileged user, I always see the message:
/home/bear/work/NetBSD/current/src/distrib/common/buildfloppies.sh: cannot create floppy.25997.tar: permission denied

	After looking into the script, I found it stops at the following command:
/home/bear/work/NetBSD/current/tools/bin/nbpax -O -w boot USTAR.volsize.13200 netbsd >> floppy.25997.tar || exit 1

	When I execute the previous line in shell, everything looks ok.

	Is it a shell environment problem? Thanks!

Regards,
Bear.