Permissions in /var/run/kopano/ correct?
-
KC 8.7.5, Listing of the socket files in /var/run/kopano/:
16506 -rw-rw-rw-. 2 kopano kopano 0 21 sep 14:03 kopano.lab.thuis.ceee6740-508 15043 -rw-r--r--. 1 kopano kopano 4 21 sep 14:03 monitor.pid 19120 srw-rw----. 1 kopano kopano 0 21 sep 14:03 prio.sock 16507 -rw-r--r--. 1 kopano kopano 4 21 sep 14:03 search.pid 16506 -rw-rw-rw-. 2 kopano kopano 0 21 sep 14:03 search.pid.lock 20262 srwx------. 1 kopano kopano 0 21 sep 14:03 search.sock 20213 -rw-r--r--. 1 kopano kopano 5 21 sep 14:03 server.pid 19122 srw-rw-rw-. 1 kopano kopano 0 21 sep 14:03 server.sock
Why does server.sock have 666 perms? It drops to and is running as user kopano & group kopano. Shouldn’t that be 660 or 640? Notice the “S_IRWUGO” here:
https://stash.kopano.io/projects/KC/repos/kopanocore/browse/provider/server/ECServer.cpp#788The same goes for “search.pid.lock” which also has 666 perms. I could not find where in the source that file gets created. Finally “kopano.lab.thuis.ceee6740-508” also has 666 perms but I have no idea what it’s for and where it gets created. Thanks!