Your message dated Sat, 29 Jun 2013 16:19:18 +0000
with message-id <e1usxrq-0008as...@franck.debian.org>
and subject line Bug#700067: fixed in mtpfs 1.1-4.1
has caused the Debian Bug report #700067,
regarding mtpfs: did not show file in folder without subfolders
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
700067: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700067
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mtpfs
Version: 1.1-4
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,
   * What led up to the situation?
        mount my android phone with mtpfs-1.1, it will not show files in
        folder that didn't have a subfolder.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        1. mount my phone to a folder: mtpfs -o rw /media/phone
        2. open a terminal, cd to a folder with files but no subfolder,
            and run ls, nothing will show.

   * What was the outcome of this action?
        I can't found some files under the mount point.

   * What outcome did you expect instead?
        Show all my files under the mount point.

Here's a patch for this bug. I've tested it, now it can show all my
files.

--- mtpfs-1.1/mtpfs.c   2013-02-07 17:21:31.526325953 +0800
+++ mtpfs-1.1-fix/mtpfs.c       2013-02-07 17:25:22.378680386 +0800
@@ -725,12 +725,12 @@ mtpfs_readdir (const gchar * path, void
     if (folder_id==-2) {
         DBG("Root of storage area");
         folder=storageArea[storageid].folders;
+        if (folder == NULL) return_unlock(0);
     } else {
         folder = LIBMTP_Find_Folder (storageArea[storageid].folders,
folder_id);
         if (folder == NULL) return_unlock(0);
         folder = folder->child;
     }
-    if (folder == NULL) return_unlock(0);

     while (folder != NULL) {
         if ((folder->parent_id == folder_id) ||

One thing need to mention, I'm using the latest libmtp at sourceforge,
because the version in debian cannot mount my phone.
But I think it won't make any difference to this bug.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500,
'testing-proposed-updates'), (500, 'stable-updates'), (500,
'proposed-updates'), (500, 'stable'), (400, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mtpfs depends on:
ii  fuse          2.9.0-2+deb7u1
ii  libc6         2.13-37
ii  libfuse2      2.9.0-2+deb7u1
ii  libglib2.0-0  2.33.12+really2.32.4-3
ii  libid3tag0    0.15.1b-10
ii  libmad0       0.15.1b-7
ii  libmtp9       1.1.3-35-g0ece104-4
ii  libusb-1.0-0  2:1.0.11-1
ii  zlib1g        1:1.2.7.dfsg-13

mtpfs recommends no packages.

mtpfs suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: mtpfs
Source-Version: 1.1-4.1

We believe that the bug you reported is fixed in the latest version of
mtpfs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 700...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jay Berkenbilt <q...@debian.org> (supplier of updated mtpfs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 29 Jun 2013 11:40:30 -0400
Source: mtpfs
Binary: mtpfs
Architecture: source amd64
Version: 1.1-4.1
Distribution: unstable
Urgency: low
Maintainer: Chris Lamb <la...@debian.org>
Changed-By: Jay Berkenbilt <q...@debian.org>
Description: 
 mtpfs      - FUSE filesystem for Media Transfer Protocol devices
Closes: 700067
Changes: 
 mtpfs (1.1-4.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Apply patch from bug 700067 to allow visibility of files in folders
     with no subfolders.  (Closes: #700067)
Checksums-Sha1: 
 436511cbcb5493e4b7bf25ad0ef4a7d877bb1202 1853 mtpfs_1.1-4.1.dsc
 f9abece2ebbcc0652ba9c610109f4b3aca2491df 3660 mtpfs_1.1-4.1.debian.tar.gz
 497dac6d5f110b3ac71f05fae2668e37a26cbedc 18842 mtpfs_1.1-4.1_amd64.deb
Checksums-Sha256: 
 8adb40479da2ae9d95583f829d30988773e8bc85d8903f523627980a49aee96f 1853 
mtpfs_1.1-4.1.dsc
 23f2ef667a6d5c7d00eb0ccadaa8890781ad33c9a8fb3769af8cffd2d7fdde7e 3660 
mtpfs_1.1-4.1.debian.tar.gz
 972b0fcf94339bee07ec004e2e62e119b111068db722f85f1aa9c179bca0eda6 18842 
mtpfs_1.1-4.1_amd64.deb
Files: 
 aeae84dd565a48ffa3aa0b0741aabc01 1853 utils optional mtpfs_1.1-4.1.dsc
 586c91f319f8c15eba8c492909a8002f 3660 utils optional 
mtpfs_1.1-4.1.debian.tar.gz
 8863f004c1a4d2f3cd5d5815c8b0b93a 18842 utils optional mtpfs_1.1-4.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJRzwMsAAoJEIp10QmYASx+tlMP/3WocqwMmVbLGOzzswj4KAJc
CPksVH0KgbYDn8R36qEEPatGUQLntJJdSf0Pmv+hVNCM9U3lhZGbMDQSmQDyrKeG
tNltyIv5LxcKoNF8lqFzAHeeYdZsgR3VZ+3rsHiycH2EeoKD/CNUc+C7tLO914GS
HP4E0lh8ROtLm+5oG/reXVI6bmXnJFb8anebHFmtlKbfOA1+mt24uo9HpLYZUm1Z
WpHJMzQ639HZvC8d9++nGobztksK/KRpvTHbnbZCtXGb8ve2yrE1NYn8R4m4cn1N
OeC7HDIKGrz1i3ZA/br9cVGZKQKqbJYoW7LPRmYNtTfIiuu0mxQsUF7m5HACtHbE
LJYnQm8ZvlAlhrMdbYHDZdYR/pSziLHNcL/t8wtJb+vWtTK/q6c86CfqwTeB1xvh
ZxNTNm0ZzyY2/UvbU33lN0eijBEruhtb93boOWKTS4MJjvjxcqcftLW+GYcqoMY4
V1tV1S63IoMec9kyWWhkTDsWVunoTpS6GQ/yBiCMxi27VXSfFYUuFE9VZM0sJdsY
ALbHeM244RNVb1YN2Xed6wtQc+D3+XRTKYGq6clt2A68j7YmOwzE7sZ3Gjbg7mEa
nReBEed+/JS8kA921O7VItQd19S4Spohk8Joqgf1IJBiFIEGEj7BY0jfvnd52JBO
vNbYBwA2nSthMqMv4TcF
=2TaB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to