Comment 5 for bug 1368868

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I have a possible fix; but Ubuntu doesn't differentiate enough between the various errors coming from MTP. That's an issue that needs to be fixed in libmtp; and that possibly also exists on Windows depending on how far they go into parsing the MTP errors.

There are workarounds however. We could display all of the home directory for the user and then not require any special code to write-protect the home directory, which is what the root of the storage maps to. That however, defeats the initial intent of avoiding to expose files as much as possible. It's not necessarily *that* bad however, given that for normal usage, there shouldn't be files in the home directory besides hidden files and folders (which we can still hide).

Another options is to generate separate local storage "drives" for each of Images, Photos, etc., but this increases complexity by a lot.