Camera: modify /persist/camera_calibration permission
We set this folder to 777 for factory calibration and need
to modify it to 775 for shipping image to pass CTS.
Bug: 9176084
Change-Id: I65de6ffb818d7d450d817b4f9d1e6cc83d6172f0
Signed-off-by: bill_hwang <bill_hwang@asus.com>
diff --git a/init.flo.rc b/init.flo.rc
index f2df006..050acc3 100644
--- a/init.flo.rc
+++ b/init.flo.rc
@@ -180,6 +180,9 @@
mkdir /persist/sensors
chmod 775 /persist/sensors
+ # Modify from 777 (for camera calibration) to 775
+ chmod 775 /persist/camera_calibration
+
#Provide the access to hostapd.conf only to root and group
chmod 0660 /data/hostapd/hostapd.conf