From: INSUN PYO Date: Fri, 10 Aug 2018 03:26:18 +0000 (+0900) Subject: Change group of opt-usr-fsck.service to disk. X-Git-Tag: submit/tizen/20180810.060236^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb2fa12fcd31ad618da25b489404453ea281895b;p=platform%2Fadaptation%2Fsystem-plugin.git Change group of opt-usr-fsck.service to disk. =========================================================== 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 Change-Id: I9e7284af533993781771d08ee222e4d212cbb996 --- 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