aboutsummaryrefslogtreecommitdiff
path: root/brightnessd.c
diff options
context:
space:
mode:
Diffstat (limited to 'brightnessd.c')
-rw-r--r--brightnessd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/brightnessd.c b/brightnessd.c
index 8434cfe..b703adb 100644
--- a/brightnessd.c
+++ b/brightnessd.c
@@ -54,6 +54,7 @@ int main(int argc, char **argv)
// Open a FIFO
remove(FIFO_PATH);
mkfifo(FIFO_PATH, 0666);
+ chmod(FIFO_PATH, 0666);
// FIXME : check return val
int fifo = open(FIFO_PATH, O_RDWR);