summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2018-08-10 12:26:18 +0900
committerINSUN PYO <insun.pyo@samsung.com>2018-08-10 12:34:30 +0900
commitfb2fa12fcd31ad618da25b489404453ea281895b (patch)
treee533805c58368377283958c8e31e88f14c6adecc
parent9d876e90673c8a74e33f5da162171883bdc22cb4 (diff)
downloadsystem-plugin-fb2fa12fcd31ad618da25b489404453ea281895b.tar.gz
system-plugin-fb2fa12fcd31ad618da25b489404453ea281895b.tar.bz2
system-plugin-fb2fa12fcd31ad618da25b489404453ea281895b.zip
Change group of opt-usr-fsck.service to disk.submit/tizen/20180810.060236accepted/tizen/unified/20180810.132605
=========================================================== brw-rw---- 1 root disk 179, 25 Jan 1 10:31 /dev/mmcblk0p25 =========================================================== In addition, User changed to meaningless system_fw(non root). "Non root user" is requirement of security department. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I9e7284af533993781771d08ee222e4d212cbb996
-rw-r--r--units/opt-usr-fsck.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/opt-usr-fsck.service b/units/opt-usr-fsck.service
index 0e4afb0..49888de 100644
--- a/units/opt-usr-fsck.service
+++ b/units/opt-usr-fsck.service
@@ -9,6 +9,8 @@ Before=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
+User=system_fw
+Group=disk
SmackProcessLabel=System
ExecStart=/sbin/fsck -T -M -f -y /dev/disk/by-partlabel/user
SuccessExitStatus=0 1 8