From 9f0d356f582ee8dba38fac7b0cceb2c9fb29658e Mon Sep 17 00:00:00 2001 From: Deepthi Gowri Date: Mon, 20 Feb 2012 12:13:07 +0530 Subject: [PATCH] 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 --- softap/sdk/qsap_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softap/sdk/qsap_api.c b/softap/sdk/qsap_api.c index e7a738c..900d82e 100755 --- a/softap/sdk/qsap_api.c +++ b/softap/sdk/qsap_api.c @@ -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")) ) {