Set the SMACK label of dummy_file 81/209081/1 accepted/tizen/unified/20190703.110636 submit/tizen/20190702.064914
authorKichan Kwon <k_c.kwon@samsung.com>
Tue, 2 Jul 2019 06:28:40 +0000 (15:28 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Tue, 2 Jul 2019 06:30:43 +0000 (15:30 +0900)
Change-Id: Iafcbc574541fb3e247dd5c654b32a2b14bb5a91f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
upgrade/201.security_upgrade.sh

index 581bfbed5b452a084781da9cc59b74ac4450a1fe..d9e78832fb90ee8e5b672508634886bab25bb3ed 100644 (file)
@@ -25,6 +25,7 @@ if [ ! -e /opt/share/security-config/dummy_file ]
 then
        touch /opt/share/security-config/dummy_file
        chmod 600 /opt/share/security-config/dummy_file
+       chsmack -a "_" /opt/share/security-config/dummy_file
 fi
 
 # start cynara & security-manager