system/qcom: Change permissions for /data/hostapd.

After factory reset we create hostapd directory with permission 770
and owner as root which is causing issues.so change the permission
of /data/hostapd from 770 to 771.

Change-Id: I1863c4055870c9556b3ba9bf9380cdaca4a3fdb5
CRs-fixed: 337227
This commit is contained in:
Deepthi Gowri
2012-02-20 12:13:07 +05:30
committed by Linux Build Service Account
parent caf8792027
commit 9f0d356f58

View File

@@ -2917,7 +2917,7 @@ void check_for_configuration_files(void)
FILE * fp;
/* Check if configuration files are present, if not create the default files */
mkdir("/data/hostapd", 0770);
mkdir("/data/hostapd", 0771);
/* If configuration file does not exhist copy the default file */
if ( NULL == (fp = fopen(CONFIG_FILE, "r")) ) {