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
This commit is contained in:
parent
feb9224ab1
commit
b6ac2a4088
1 changed files with 6 additions and 0 deletions
|
@ -265,6 +265,12 @@ on post-fs-data
|
||||||
chown system system /dev/stmvl53l1_ranging
|
chown system system /dev/stmvl53l1_ranging
|
||||||
chmod 0660 /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
|
# Audio dump and debug
|
||||||
mkdir /data/vendor/audio 0770 audio audio
|
mkdir /data/vendor/audio 0770 audio audio
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue