[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: does grab_paths need root?



On Thu, Aug 23, 2001 at 07:34:05AM -0500, Christian T. Steigies wrote:
> I've been trying to build bf 3.0.12 for m68k about 5 times now, and they
> all failed due to lack of disk space, then a lost network connection and now
> finally with a permission denied:
> 
> I: downloading m68k-vme-tftplilo
> I: Retrieving
> http://zeus.kernel.org/debian/pool/main/m/m68k-vme-tftplilo/m68k-vme-tftplilo_1.1.2-2_all.deb
> /archive/debian/download//var/cache/apt/archives/m68k-vme-tftplilo_1.1.2-2_all.deb: Permission denied
> E: Couldn't download m68k-vme-tftplilo
> E: ./release.sh abort
> make[1]: *** [release] Error 1
> 
> I changed that part some time ago to:
>   info "downloading m68k-vme-tftplilo"
>   package=`grab_paths m68k-vme-tftplilo`
> and I am pretty sure it has worked, but maybe I built as root. The download
> directory is recreated during every build, the owner is set to root:
> 
> drwxr-xr-x    2 root     root         1024 Aug 22 20:20 archives
> 
> At first glance it seems all the other files are downloaded from .sh files,
> which are called with $ROOTCMD, release.sh is not called with $ROOTCMD and I
> do not supect it will be changed just for one m68k subarch. How do I call
> grab_paths as root in release.sh then? Yeah, I could just try, but I prefer
> to do it right over wasting another 16h to see if it works or not.

How about just adding $ROOTCMD to your package= line?

Stephen

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>

Attachment: pgpuJASxxtNFj.pgp
Description: PGP signature


Reply to: