This bug was fixed in the package mediascanner2 - 0.105+15.04.20150122-0ubuntu1
--------------- mediascanner2 (0.105+15.04.20150122-0ubuntu1) vivid; urgency=low [ Jussi Pakkanen ] * Add blacklist functionality and use it to block music playlists. (LP: #1384295) * Skip scanning of special directories if they point to user home dir. (LP: #285998) -- Ubuntu daily release <ps-jenk...@lists.canonical.com> Thu, 22 Jan 2015 10:18:10 +0000 ** Changed in: mediascanner2 (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu. https://bugs.launchpad.net/bugs/285998 Title: mv or rm of any XDG user dir causes its definition to change to wrong, oversimple $HOME/ Status in Media Scanner v2: In Progress Status in mediascanner2 package in Ubuntu: Fix Released Status in xdg-user-dirs package in Ubuntu: Confirmed Bug description: $ rmdir ~/Videos ... $ mkdir ~/Videos Hours later, find apps doing crazy things in home directory. During the elided period between rmdir and mkdir, if the XDG functions were run, the user's intent is forever lost, and its value is set to the user's home directory. Apps can not rely on XDG functions not to lie about what the user wants. It prefers to say what exists, not now when the app is accessing it, but when the XDG functions ran. It does not provide a file descriptor for an open_at(2) call. It provides a stale, text name of what used to exist on disk, and often not even what the user wanted. To manage notifications about this bug go to: https://bugs.launchpad.net/mediascanner2/+bug/285998/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp