Closed Bug 236356 Opened 20 years ago Closed 20 years ago

downlad fails if /tmp dir fills up, even if destination dir has plenty of space

Categories

(Toolkit :: Downloads API, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 69938

People

(Reporter: bjt23, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8

i set two CD images to download, and left them to run overnight.  when i
returned, i found that both had failed, with error messages that there was
insufficient disk space to write to files /tmp/(tempfilename).  looking at my
'df' output, i see that there was insufficient space on my / partition (on which
/tmp lives) to hold both images, but there was more than enough on my /home
partition to save the files.

Reproducible: Always
Steps to Reproduce:
1.  try to download a file with size > that left on /tmp
2.  watch download fail when /tmp fills up (and destination partition does not)

Actual Results:  
download fails with lack of disk space error

Expected Results:  
file should download to destination dir instead of temporary dir, thus not
exhibiting the undesired behavior

i see little reason why the file cannot be written to its destination
immediately.  i believe users are intelligent enough to understand that a file
that is currently downloading is not usable (especially linux users).  for
windows users, it is possible to lock the file, so if a user tries to access it,
they will get a "this file is in use..." error.

the only issue i see is that it is easier to clean up failed downloads if they
are in a single location.

*** This bug has been marked as a duplicate of 69938 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.