vfat support behaves differently than with pmount

Bug #76200 reported by Mikael Nilsson
2
Affects Status Importance Assigned to Milestone
gnome-mount (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: gnome-mount

I used to be able to rsync music to my USB mp3 player. Now, with gnome-mount, I have three problems:

1. Case - Directories named A, B, C etc are always removed and recreated when using rsync (which thinks they are called a, b, c etc.). Fixed by using shortname=mixed

2. Times - rsync complains "failed to set times on "[...]": Operation not permitted (1)". This seems to be caused by the files being owned by root. I think maybe pmount made them owned by me, which makes the above operation succeed.

3. Permissions. The default permissions were fmask=0077, dmask=0077. Coupled with owner=root, this makes the device hard to use.

I fixed 1 and 3 by adding umask=0000,shortname=mixed in the Volume tab in nautilus. But it seems I should *not* have to do this.

Related branches

Revision history for this message
Mikael Nilsson (mini) wrote :

As an additional issue, nautilus complains when I try to unmount it "Cannot remove directory".

The volume *is* unmounted, though, and the relevant /media directory *is* removed.

Revision history for this message
Florent Mertens (givre) wrote :

1 : This is understandable since pmount used previously shortname=mixed, and gnome-mount use by default shortname=winnt. In my opinion, the previous policy should not be changed.

2 &3 : This is due to the fact that all default settings are overwrite by the settings you define in the Volume tab in nautilus. The default for vfat is still uid=(user_uid). By removing all options in Volume tab and remounting your usb device, you'll see that.

Conclusion : the default shortname option for vfat should be change from shortname=winnt to shortname=mixed

Martin Pitt (pitti)
Changed in gnome-mount:
assignee: nobody → pitti
status: Unconfirmed → In Progress
Martin Pitt (pitti)
Changed in gnome-mount:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 gnome-mount (0.5-2ubuntu5) feisty; urgency=low
 .
   * debian/control: Set Ubuntu maintainer (to me).
   * debian/patches/ubuntu-default-mount-options.patch: Use shortname=mixed
     mount option for VFAT to stay compatible with earlier Ubuntu releases.
     (LP: #76200)
   * debian/patches/ubuntu-default-mount-options.patch: Mount with 'exec' by
     default to stay compatible with earlier Ubuntu releases.
     (LP: #87627)
   * debian/patches/ubuntu-default-mount-options.patch: Use 'uid' option by
     default for HFS. (LP: #84044)
   * Add debian/patches/05_ignore_slash_label.patch: If the label is a single
     '/', ignore it, so that it does not end up as /media/_. (LP: #83323)

Changed in gnome-mount:
status: Fix Committed → Fix Released
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.