Diff between cadc337a743e2330877ad55c8cbc4a26d418ca0b and 9e54757fd3c2152b3c66128dde8d5d21c67499b6

Changed Files

File Additions Deletions Status
profiles/gatt/gas.c +1 -1 modified
profiles/proximity/monitor.c +1 -1 modified

Full Patch

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
@@ -96,7 +96,7 @@ static void write_ctp_handle(struct btd_device *device, uint16_t uuid,
 
 	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
@@ -103,7 +103,7 @@ static void write_proximity_config(struct btd_device *device, const char *alert,
 
 	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);
 	}