Copying MP3 Files To A Subdirectory Fails

Bug #1053780 reported by Scott Talbert
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mtpfs (Debian)
Fix Released
Unknown
mtpfs (Ubuntu)
Incomplete
Undecided
Unassigned
Nominated for Precise by David Henningsson

Bug Description

When using an MTPFS mounted filesystem, if an MP3 file is copied to a subdirectory, e.g.:

cp file.mp3 /mnt/mtpfs/Music/X/

the file ends up in /mnt/mtpfs/Music instead of in X.

This has been fixed upstream in Debian, trivial patch attached.

Tags: patch
Revision history for this message
Scott Talbert (swt-techie) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in mtpfs (Debian):
status: Unknown → Fix Released
Revision history for this message
David Henningsson (diwic) wrote :

Hi Scott, and thanks for your patch!

I'm trying to reproduce the problem here, but it seems to work correctly on my machine (a 12.04 + a Galaxy Note, running ICS). Could you clarify if this a problem in 12.04, 12.10 or both?

Changed in mtpfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Scott Talbert (swt-techie) wrote :

I am seeing the problem in 12.04 with a Galaxy Nexus running Jellybean. Do you really mean that you are running 12.10? Because I believe that has a newer version of MTPFS which already has the patch included.

Revision history for this message
Joshua R. Poulson (jrp) wrote :

I'm seeing slightly different behavior. I am copying files over to both a Kindle Fire HD and a Nexus 7 and they both act as though the copy succeeds and the file immediately disappears from the directory after the copy. No errors in syslog.

Revision history for this message
Scott Talbert (swt-techie) wrote :

Are the files going to anywhere on the device? The root directory?

Revision history for this message
gumpish (launchpad-5-gumpish) wrote :

Can someone put a patched version for 12.04 in a PPA? (If the maintainers can't be arsed to implement a one line patch which the source distribution saw fit to roll out, I'm pessimistic about any packages for already-released versions of *buntu ever being updated except to patch critical security vulnerabilities. Which is fine, I'm not a paying customer so I'm not complaining.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

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