Change group of opt-usr-fsck.service to disk. 97/186497/1 accepted/tizen/unified/20180810.132605 submit/tizen/20180810.060236
authorINSUN PYO <insun.pyo@samsung.com>
Fri, 10 Aug 2018 03:26:18 +0000 (12:26 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Fri, 10 Aug 2018 03:34:30 +0000 (12:34 +0900)
===========================================================
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

units/opt-usr-fsck.service

index 0e4afb0..49888de 100644 (file)
@@ -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