SocketAPI:  Show error when we are not allowed

Issue #1931
csync_update: add the perms in the log