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

Re: Some ideas and concerns regarding fakeroot



On Thu, 11 Sep 1997, joost witteveen wrote:

> > joost witteveen wrote:
> > > 
> > > Well, OK, I'll change the foo example:
> > > 
> > >   if test -x /bin/perl; then
> > >     echo "#!/bin/perl" > $PERLSCRIPT
> > >   else
> > >     if test -x /usr/bin/perl; then
> > >       echo "#!/bin/perl" > $PERLSCRIPT
> > >     fi
> > >   fi
> > >   echo 'U(NF($&*#@K$UP(@)(FN@(#*nf83498O*#U<<(0834.>>??u980r4>' >>$PERLSCRIPT
> > > 
> > > Now, do you still want   stat(file living in /, but not in VIRTUAL_ROOT/)
> > > to always return "no such file or dir"?
> > 
> > What if the user has no perl installed? 
> 
> The user has _always_ perl installed, or otherwise dpkg-* will not run.

Correct.

But why are you checking for /bin/perl ? The correct location is
/usr/bin/perl and /bin/perl should be removed if present (it was used in
older versions of Debian, but this didn't comply with the FSSTND). Or am I
missing something?


Thanks,

Chris

--          _,,     Christian Schwarz
           / o \__   schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
           !   ___;   schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
           \  /        
  \\\______/  !        PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
   \          /         http://fatman.mathematik.tu-muenchen.de/~schwarz/
-.-.,---,-,-..---,-,-.,----.-.-
  "DIE ENTE BLEIBT DRAUSSEN!"


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: