From 4257df2c1dfd3fdd4648383994073ac1ba2e770c Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 23 Dec 2013 16:39:10 +0100 Subject: [PATCH] android: Add comment why umask() is needed in system-emulator --- android/system-emulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/android/system-emulator.c b/android/system-emulator.c index 299de0f25..611e46e00 100644 --- a/android/system-emulator.c +++ b/android/system-emulator.c @@ -171,6 +171,7 @@ int main(int argc, char *argv[]) mainloop_add_fd(fd, EPOLLIN, system_socket_callback, NULL, NULL); + /* Make sure bluetoothd creates files with proper permissions */ umask(0177); return mainloop_run(); -- 2.47.3