music scope and music-app only play songs owned by user 'phablet'

Bug #1323711 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
android-tools (Ubuntu)
Fix Released
High
Oliver Grawert
media-hub (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Songs not owned by user 'phablet' are not played in Music App and Music scope preview mode, even if the file is readable by this user.

TEST CASE:
1. Copy a song (mp3 or ogg) to a device to /home/phablet/Music
 $ adb push <file> /home/phablet/Music/

2. Verify that the file is not owned by phablet but that phablet read access (mode 0666)
 $ adb shell ls -l /home/phablet/Music/
-rw-rw-rw- 1 root root 25304292 May 26 17:18 <test_file>

3. Play this song in music scope or music app
4. Verify that the song plays
5. Change ownership of the file to user 'phablet'
 $ adb shell chown phablet /home/phablet/Music/<file>

EXPECTED RESULT
Music app or scope play the song

ACTUAL RESULT
Music app or scope doesn't play the song and there is no error message.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: media-hub 0.0.2+14.10.20140521-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.2-0ubuntu4
Architecture: armhf
Date: Tue May 27 16:53:47 2014
InstallationDate: Installed on 2014-05-27 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140527)
SourcePackage: media-hub
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
description: updated
description: updated
tags: added: ueqa
tags: added: qa-touch
removed: ueqa
Changed in media-hub (Ubuntu):
assignee: nobody → Oliver Grawert (ogra)
Revision history for this message
Oliver Grawert (ogra) wrote :

this will be fixed when we default to running adbd as phablet user once the final developer mode changes land.

Changed in android-tools (Ubuntu):
assignee: nobody → Oliver Grawert (ogra)
Changed in media-hub (Ubuntu):
importance: Undecided → Wishlist
assignee: Oliver Grawert (ogra) → nobody
Changed in android-tools (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Oliver Grawert (ogra) wrote :

with the switch to "phablet" for all adb access, adb push will now use this UID for adb push as well ... which makes me belive this bug can be closed

Changed in android-tools (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Jim Hodapp (jhodapp) wrote :

All media should be owned by phablet all of the time, this bug is invalid.

Changed in media-hub (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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