Fix gumd script(smack label issue) 84/77284/1 accepted/tizen/common/20160629.223447 accepted/tizen/ivi/20160630.004107 accepted/tizen/mobile/20160630.004157 accepted/tizen/tv/20160630.004049 accepted/tizen/wearable/20160630.004134 submit/tizen/20160629.124903
authorMinje Ahn <minje.ahn@samsung.com>
Wed, 29 Jun 2016 08:46:40 +0000 (17:46 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Wed, 29 Jun 2016 08:46:40 +0000 (17:46 +0900)
Change-Id: I97329d7807dce33d63d1fdaf74238f8d5c0db783
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
30_media-server-add.post
packaging/media-server.spec

index 3009946..25fb6e6 100644 (file)
@@ -8,11 +8,12 @@ export `tzplatform-get --user $NEW_USER TZ_USER_DB`
 /usr/bin/touch $TZ_USER_DB/.media.db
 /usr/bin/chown multimedia_fw:multimedia_fw $TZ_USER_DB/.media.db
 /usr/bin/chmod 2644 $TZ_USER_DB/.media.db
+/usr/bin/chsmack -a 'User::Home' $TZ_USER_DB/.media.db
 
 /usr/bin/mkdir -p $TZ_USER_SHARE/media/.thumb/phone
 /usr/bin/mkdir -p $TZ_USER_SHARE/media/.thumb/mmc
 /usr/bin/chown -R multimedia_fw:multimedia_fw $TZ_USER_SHARE/media
-/usr/bin/chsmack -a 'User::App::Shared' -t
+/usr/bin/chsmack -a 'User::App::Shared' -t $TZ_USER_SHARE/media
 /usr/bin/chmod 2775 $TZ_USER_SHARE/media
 /usr/bin/chmod -R 2777 $TZ_USER_SHARE/media/.thumb
 /usr/bin/find $NEW_USER $TZ_USER_SHARE/media/.thumb -type d -exec /usr/bin/chsmack -a 'User::App::Shared' -t {} +
index d56055f..7e285dd 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       media-server
 Summary:    A server for media content management
-Version:    0.2.92
+Version:    0.2.93
 Release:    0
 Group:      Multimedia/Service
 License:    Apache-2.0