Package: galeon
Version: 1.3.19-1
Severity: normal

How to lose a download in five minutes using 'galeon'...

Using 'galeon' I start to fetch a package from one of Debians
experimental archives.  'galeon' asks me where to put it, so I pick 
'/var/cache/apt/archives/'.  

'galeon' DL's it for a while -- 2.3 megs, my modem or its server
wouldn't go  past 2.9K/sec, ugh.  While it's DL'ing it, I notice it's
saving it  to a file in the '/tmp' directory.  I watch that /tmp file,
since the  DL window didn't know how big the file was or should be.  
After a few minutes it finishes.

Suddently the file vanishes from '/tmp'.  But it's not in
'/var/cache/apt/archives/'. It's gone.  Why?  Because I did it as a
user, and the destination directory could only be written to as root;
plain old human error.

'galeon' gave no error message, it lost 2.3 megs of data quietly.

It'd be better if the DL'er checked if the user had write access to a 
given directory BEFORE trying to save a file there, and if a dir was off
limits it should allow users to select an allowed dir. Also if for
any reason it fails to save a file, (disk failure, not enough space, etc.),
there should be an error message.  The file in '/tmp' (if it exists)
should be deleted only if the write  was a success.

In a nutshell:

BAD:

        1) prompt user for destination dir.
        2) DL file to /tmp dir.
        3) try to move file from /tmp to destination.
        4) ignore errors, erase /tmp file.

BETTER:

        1) prompt user for destination dir.
            a) is destination verboten?  Goto 1).
        2) DL file to /tmp dir.
        3) try to move file from /tmp to destination.
            a) did the move work?  Keep file, warn user.
            b) otherwise erase /tmp file.



Hope this helps...




-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages galeon depends on:
ii  debconf                  1.4.42          Debian configuration management sy
ii  galeon-common            1.3.19-1        GNOME web browser for advanced use
ii  gconf2                   2.8.1-4         GNOME configuration database syste
ii  gnome-control-center     1:2.8.1-3       The GNOME Control Center for GNOME
ii  libart-2.0-2             2.3.16-6        Library of functions for 2D graphi
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libaudiofile0            0.2.6-5         Open-source version of SGI's audio
ii  libbonobo2-0             2.8.0-4         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.0-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libeel2-2                2.8.2-1         Eazel Extensions Library (for GNOM
ii  libesd-alsa0 [libesd0]   0.2.35-2        Enlightened Sound Daemon (ALSA) - 
ii  libgail-common           1.8.2-1         GNOME Accessibility Implementation
ii  libgail17                1.8.2-1         GNOME Accessibility Implementation
ii  libgcc1                  1:3.4.3-4       GCC support library
ii  libgconf2-4              2.8.1-4         GNOME configuration database syste
ii  libgcrypt11              1.2.0-11        LGPL Crypto library - runtime libr
ii  libglade2-0              1:2.4.1-1       Library to load .glade files at ru
ii  libglib2.0-0             2.6.1-2         The GLib library of C routines
ii  libgnome-keyring0        0.4.1-1         GNOME keyring services library
ii  libgnome2-0              2.8.0-6         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.8.0-1         A powerful object-oriented display
ii  libgnomeui-0             2.8.0-3         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.8.3-9         The GNOME virtual file-system libr
ii  libgnutls11              1.0.16-13       GNU TLS library - runtime library
ii  libgpg-error0            1.0-1           library for common error values an
ii  libgtk2.0-0              2.4.14-2        The GTK+ graphical user interface 
ii  libhowl0                 0.9.8-2         Library for Zeroconf service disco
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  libnautilus2-2           2.8.2-2         libraries for nautilus components 
ii  liborbit2                1:2.10.2-1.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.6.0-3         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libstdc++5               1:3.3.5-3       The GNU Standard C++ Library v3
ii  libtasn1-2               0.2.10-4        Manage ASN.1 structures (runtime)
ii  libx11-6                 4.3.0.dfsg.1-9  X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxml2                  2.6.11-5        GNOME XML library
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  mozilla-browser          2:1.7.5-1       The Mozilla Internet application s
ii  procps                   1:3.2.5-1       /proc file system utilities
ii  scrollkeeper             0.3.14-9.1      A free electronic cataloging syste
ii  xlibs                    4.3.0.dfsg.1-9  X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to