Fix smack deny issue while updating pkg 51/169451/3
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 31 Jan 2018 07:52:05 +0000 (16:52 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 7 Feb 2018 09:01:41 +0000 (18:01 +0900)
commit8cb26578f87054702996fa150e9681434921c00c
treece08e951042011f699dbecb5fecf249effc1510b
parent0f1c32e5b17ee79a07b96e254b62f5d907528901
Fix smack deny issue while updating pkg

- When certain pkg is updating and some other application
  tries to access its shared/res directory, it may cause
  smack deny if file has copied but security registration is
  not performed.
- This patch preserves shared and shared/res directory to
  preserve its smack label and this will transmuted into
  files and directories which will be copied into it.

Change-Id: I7eed21df0387ad969d6b8a13f0c269e1022db8e2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/backup/step_copy_backup.cc