[PATCH] hostapd: Android: Force group access to ctrl_iface directory
j at w1.fi
Mon Dec 17 12:28:18 EST 2012
On Mon, Dec 17, 2012 at 10:13:24AM -0600, Dan Williams wrote:
> On Mon, 2012-12-17 at 16:32 +0200, Jouni Malinen wrote:
> > On Fri, Dec 14, 2012 at 12:58:01PM +0100, Pontus Fuchs wrote:
> > > Same fix as d49ea68284fdb8516d7e0903e526aac484c18c49 in
> > > wpa_supplicant.
> > Thanks, applied.
> Isn't this a bug in the Android initscripts and shouldn't it be fixed
> there instead of in hacks in the supplicant code? Or are you trying to
> ensure the supplicant will keep running well on older Android releases?
Well, yes, modifying the initscripts (or something else; I'm not
completely sure where umask is set) would likely be the cleanest way of
doing this. That said, it is not exactly convenient to get all the
possible places modified, so I ended up giving up with the cleanest fix
from hostap.git view point and pushed this into wpa_supplicant (and now
into hostapd with this commit). And yes, this needs to work also with
existing Android releases.
Jouni Malinen PGP id EFC895FA
More information about the HostAP