]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Make local sockets world-readable.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 19 Jul 2016 17:03:15 +0000 (19:03 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 23 Jul 2016 00:45:44 +0000 (02:45 +0200)
We already have S_IWOTH, so it's kind of pointless to not permit read
access to the socket special. This patch changes afs.c and audiod.c
to create sockets with mode 666 which was probably intended anyway.

The patch should not cause any compatibility issues since on Linux we
check credentials with SCM_CREDENTIALS while *BSD ignores permissions
for UNIX domain sockets. According to unix(7), portable programs
should not rely on them.


No differences found