Resolve security issue 62/115762/1 accepted/tizen/3.0/common/20170222.125830 accepted/tizen/3.0/ivi/20170222.082714 accepted/tizen/3.0/mobile/20170222.082628 accepted/tizen/3.0/tv/20170222.082651 accepted/tizen/3.0/wearable/20170222.082702 submit/tizen_3.0/20170221.085256
authorSunmin Lee <sunm.lee@samsung.com>
Tue, 21 Feb 2017 08:07:47 +0000 (17:07 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Tue, 21 Feb 2017 08:07:47 +0000 (17:07 +0900)
The 777 mode bits of media directory has security vulnerability.
Likewise previous Tizen, it should have restricted permission (755).

Change-Id: Ie984cff5384f45f6f8d27eec110aabf29dee638f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
packaging/tizen-platform-config.spec

index 272d6af..6dfb66b 100644 (file)
@@ -77,7 +77,7 @@ saveHOME="$HOME"
 HOME="/opt/etc/skel"
 . "%{_sysconfdir}/tizen-platform.conf"
 cat << ENDOFCAT |
-MODE 777
+MODE 755
 SMACK System::Shared true
 $TZ_SYS_STORAGE
 $TZ_SYS_MEDIA