Open Bug 336113 Opened 18 years ago Updated 2 years ago

empty file saving on download (NTFS/FAT/SMB)

Categories

(Toolkit :: Downloads API, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: lorenzo.ds, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.0.2) Gecko/20060427 Ubuntu/dapper Firefox/1.5.0.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.0.2) Gecko/20060427 Ubuntu/dapper Firefox/1.5.0.2

if you select as the default download directory a folder that is on a different hard-drive respect the home directory (i tryed both directly and through a symbolic link), firefox saves an empty file (0kb - with the correct name) without opening download-manager window

Reproducible: Always

Steps to Reproduce:
1. select as the default download directory a folder on a drive different rispect the one that contains the home directory
2. try to download a random .torrent file from the URL i provided
3. check
Does this occur on all sites? e.g. http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/
Severity: major → normal
(In reply to comment #1)
> Does this occur on all sites? e.g.
> http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/
> 

no, not on all sites.
but on the sites where it occurs, it occurs all the times.
As what is the hard drive formatted? (ext3? FAT32? NTFS?)
(In reply to comment #3)
> As what is the hard drive formatted? (ext3? FAT32? NTFS?)
> 

my home is on reiserfs, the partition where i wanted to save file is FAT32
I have the same problem.
It is linked to : Bug 270159
The same work-around is working :  use fmask=0111 in fstab

Description :
On Linux, when saving in a vfat (fat32) filesystem,
with the executable bit set for each file, 2 cases may appear:
1) file extension is added twice. See Bug 270159.
2) file extension is ok but file is created empty.

Which case is happening looks to be linked to mime type.
As exemple, 2 is happening with mime:
"subtitle file" (application/force-download)
Depends on: 270159
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → asac
Summary: empty file saving → empty file saving on download (NTFS/FAT/SMB)
btw, bug 270159 has a proposed patch for this attached.
Status: NEW → ASSIGNED
This happens for me as well. I am running Fedora rawhide, firefox-2.0.0.6-12.fc8.x86_64. Empty files get created on NTFS partition, as well as when I am trying to download something directly to my pendrive.
Running Fedora 8, the same, I confirm the bug, if I save to ext2, no problem, to ntfs, 0 bytes.
Product: Firefox → Toolkit
Experienced similar issue with NTFS-3G on Linux 14.04.
Download saves as zero byte file only happen with NTFS-3G option "inherit". Default option produces normal behavior, but then causing some access issue if the directory is opened from Windows.

The bug assignee didn't login in Bugzilla in the last 7 months.
:mak, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: asac → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(mak)
Flags: needinfo?(mak)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.