Not save file when use defaults options in vfat partition

Bug #109832 reported by Diego Caro
2
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mozilla-firefox

Hi, when use vfat partition for save (only a click in link, not right-click and save this link) file and the fstab file contain this options (for example):

/dev/hda5 /mnt/diego vfat defaults,utf8,quiet,uid=diegocaro,gid=diegocaro 0 0

firefox not save correctly my download file. Firefox create a blank-file (0 KB) with the name of original link download file... for example:

$ ls -lh /mnt/diego/trabajos/2007-1/
-rwxr-xr-x 1 diegocaro diegocaro 0 2007-04-24 23:35 Informe1final.doc

I can see this error in console errors (tools -> console errors)

Error: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIMIMEInfo.primaryExtension]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: file:///usr/lib/firefox/components/nsHelperAppDlg.js :: anonymous :: line 238" data: no]
Archivo de origen: file:///usr/lib/firefox/components/nsHelperAppDlg.js
Línea: 238

I read the line 238 and i imagine the cause in the rwx file permision in umask by default in vfat options (although the error is clearly in the file js ).

I solve this error via fstab config, i change dmask and fmask options. See:

/dev/hda5 /mnt/diego vfat defaults,utf8,quiet,uid=diegocaro,gid=diegocaro,dmask=0022,fmask=0133 0 0

I don't know write a fix code for js file, i hope that you if you know...

Thanks for all, and good bye!!!

Use the opensource!

Diego Caro (diegocaro)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.