Modify setGUID options 71/83971/1
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 16 Aug 2016 05:18:36 +0000 (14:18 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Tue, 16 Aug 2016 05:18:36 +0000 (14:18 +0900)
Change-Id: I89c3486169d8a684fa10541a39a45998ee29cdc8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
30_media-server-add.post

index 25fb6e6..a5a9a13 100644 (file)
@@ -7,13 +7,13 @@ 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/chmod 0644 $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 $TZ_USER_SHARE/media
-/usr/bin/chmod 2775 $TZ_USER_SHARE/media
-/usr/bin/chmod -R 2777 $TZ_USER_SHARE/media/.thumb
+/usr/bin/chmod 0775 $TZ_USER_SHARE/media
+/usr/bin/chmod -R 0777 $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 {} +