From: José Bollo Date: Thu, 23 May 2019 16:06:38 +0000 (+0200) Subject: lightmediascanner: change db directory X-Git-Tag: 7.99.2~26 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=inline;h=bcd5334d789f61ac1f6b14de3f1f2febea27e06c;hp=bcd5334d789f61ac1f6b14de3f1f2febea27e06c;p=AGL%2Fmeta-agl.git lightmediascanner: change db directory Lightmediascanner runs for one user and should not be able to look over the the shoulder of other users. So it should not run as root anymore. At the moment, lightmediascanner is a user daemon started in the user session by systemd, without capabilities but with the Smack label "System". To allow the service-mediascanner to access its database, the db must be set in a specific place with the User::App-shared label. Bug-AGL: SPEC-1016 Change-Id: Id4546e2567c4f5a0a5139d274d35d11e4879e42e Signed-off-by: José Bollo ---