I am trying to understand why group and other permissions are set to 6.

Would it not be best if it were 0600? Are there side effects of doing so?

$ cat src/util/unix_listen.c –n
…
    95  #ifdef FCHMOD_UNIX_SOCKETS
    96      if (fchmod(sock, 0666) < 0)
    97          msg_fatal("fchmod socket %s: %m", addr);
    98  #else
    99      if (chmod(addr, 0666) < 0)
   100          msg_fatal("chmod socket %s: %m", addr);
   101  #endif

-Jason

Reply via email to