mediascanner does not traverse symlinks to /userdata

Bug #1237673 reported by Max Brustkern on 2013-10-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Won't Fix
mediascanner2 (Ubuntu)

Bug Description

I'm running image 20131005 / 83 on a maguro, and media under /home/phabler/Music, etc. is indexed. Symlinks within those directories pointing to paths on /userdata (where the majority of the free space is mounted under the current partitioning scheme) are not indexed.

tags: added: avengers qa-manual-testing qa-touch
James Henstridge (jamesh) wrote :

The set of media roots is configured through gsettings:

    $ gsettings get com.canonical.mediascanner media-roots
    ['user:download', 'user:music', 'user:pictures', 'user:videos']

As a work around, you can update this setting using "gsettings set" to add the URL of the folder in /userdata to have it scan that location too (it needs to be a URL rather than a plain path, so don't forget the "file:///" bit).

If we end up having devices configured for people to store data outside of their home directory, then it would make sense to change this setting accordingly. However, if this is just an artefact of the current images, then it is probably best to leave things as they are.

Max Brustkern (nuclearbob) wrote :

This is definitely a discussion we can postpone until after the release, I just want to make sure we come back to it at some point. The bulk of the free space on the device shouldn't be ignored indefinitely, but that may be a matter of reconfiguring the image to make more space available under /home

Changed in mediascanner:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers