diff --git a/profiles/gatt/gas.c b/profiles/gatt/gas.c
index c9353f6..b5e0e52 100644
--- a/profiles/gatt/gas.c
+++ b/profiles/gatt/gas.c
data = g_key_file_to_data(key_file, &length, NULL);
if (length > 0) {
- create_file(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+ create_file(filename, S_IRUSR | S_IWUSR);
g_file_set_contents(filename, data, length, NULL);
}
diff --git a/profiles/proximity/monitor.c b/profiles/proximity/monitor.c
index 0be0ae4..370592d 100644
--- a/profiles/proximity/monitor.c
+++ b/profiles/proximity/monitor.c
data = g_key_file_to_data(key_file, &length, NULL);
if (length > 0) {
- create_file(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+ create_file(filename, S_IRUSR | S_IWUSR);
g_file_set_contents(filename, data, length, NULL);
}