Bug#405586: iceape-browser: Preinstall skript destroys root file system

Mike Hommey mh at glandium.org
Thu Jan 4 20:42:13 CET 2007


tag 405586 pending
thanks

On Thu, Jan 04, 2007 at 07:54:42PM +0100, Bernd Petersohn <bernd.petersohn at gmx.de> wrote:
> Package: iceape-browser
> Version: 1.0.7-1
> Severity: critical
> Justification: breaks the whole system
> 
> 
> The preinst script moves files and directories of the root file system
> into /usr/share/iceape/chrome/ (at least if /usr/lib/iceape/chrome exists).
> 
> Responsible is the following find command in line 42 of the script:
> 
>   find . -maxdepth 1 -mindepth 1 -exec mv --reply=no {} /usr/share/iceape/chrome/ \;
>   
> I assume the find command should start in /usr/lib/iceape/chrome instead
> of the working directory.

The "good" thing is that it acts on the working directory, not the root
directory. And it may be the reason I didn't see this coming when I tested
the package... I probably was in /usr/lib/iceape/chrome because I was
making sure it was there before...

Damn :-/.

Fixed package currently building...

Mike




More information about the pkg-mozilla-maintainers mailing list