]> git.tuebingen.mpg.de Git - paraslash.git/commit
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)
commit1ada5f286b031bde90d5cdaf8f85311cbfa7db6b
treeecc258dc12f884af79e027227553f58a0f6e0379
parent8945705ac35cb77b23ad4cfc732fa884bceb7e35
Make local sockets world-readable.

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.
afs.c
audiod.c