mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
HS 2.0: Make hs20-osu-client SP and <FQDN> directories group writable
This updates SP/<FQDN> directory with following permissions on Android to allow moving certificate at runtime from Cert/ to SP/<FQDN> folder: - user:read/write/exec - group:read/write/exec (i.e., add group write permission) Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
0f9632ceb8
commit
7ad7aa0e12
@ -612,8 +612,8 @@ int hs20_add_pps_mo(struct hs20_osu_client *ctx, const char *uri,
|
||||
}
|
||||
}
|
||||
|
||||
android_update_permission("SP", S_IRWXU | S_IRGRP | S_IXGRP);
|
||||
android_update_permission(fname, S_IRWXU | S_IRGRP | S_IXGRP);
|
||||
android_update_permission("SP", S_IRWXU | S_IRWXG);
|
||||
android_update_permission(fname, S_IRWXU | S_IRWXG);
|
||||
|
||||
snprintf(fname, fname_len, "SP/%s/pps.xml", fqdn);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user