From b6ac2a408897547ee53ec8c906badbc3ea87755e Mon Sep 17 00:00:00 2001 From: chened Date: Mon, 15 Mar 2021 13:39:44 +0800 Subject: [PATCH] init.gs101.rc: add chmod 0771 to camera calibration folder We found the '-X' of chmod may not work properly. Add chmod 0771 command to make sure the camera calibration folders have right permission. impact folders: 1. /mnt/vendor/persist/camera 2. /mnt/vendor/persist/camera/OTP_calibration 3. /mnt/vendor/persist/camera/pdaf_calibration_data 4. /mnt/vendor/persist/camera/rear Test: build pass, gca Bug: 181520309 Change-Id: Ib43b457764d0a700cd6fe413f07731621fa6753c --- conf/init.gs101.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index c2888888..3c936f42 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -265,6 +265,12 @@ on post-fs-data chown system system /dev/stmvl53l1_ranging chmod 0660 /dev/stmvl53l1_ranging + # Factory calibration files + chmod 0771 /mnt/vendor/persist/camera + chmod 0771 /mnt/vendor/persist/camera/OTP_calibration + chmod 0771 /mnt/vendor/persist/camera/pdaf_calibration_data + chmod 0771 /mnt/vendor/persist/camera/rear + # Audio dump and debug mkdir /data/vendor/audio 0770 audio audio