Fix notify dir's SMACK issuse 81/46781/1 accepted/tizen/mobile/20150826.070046 accepted/tizen/tv/20150826.070145 accepted/tizen/wearable/20150826.070240 submit/tizen/20150826.061841
authorgloryj.kim <gloryj.kim@samsung.com>
Wed, 26 Aug 2015 06:17:13 +0000 (15:17 +0900)
committergloryj.kim <gloryj.kim@samsung.com>
Wed, 26 Aug 2015 06:17:13 +0000 (15:17 +0900)
Change-Id: Ie2197e616ddae53c3ee1e36b903455fd51ff6612

packaging/download-provider.spec

index 2fd0516..017a564 100644 (file)
@@ -184,7 +184,8 @@ ln -s ../download-provider.socket %{buildroot}/lib/systemd/system/sockets.target
 #make notify dir in post section for smack
 mkdir /opt/data/download-provider
 mkdir -p %{_notifydir}
-#chsmack -a 'System:Shared' %{_notifydir}                                        
+chsmack -a 'System::Shared' %{_notifydir}
+chsmack -t %{_notifydir}                                        
 mkdir -p --mode=0700 %{_databasedir}
 #chsmack -a 'download-provider' %{_databasedir}
 mkdir -p --mode=0700 %{_database_client_dir}