3

I have a plist installed on my system with the following in it:

<dict>
  <key>SockPathMode</key>
  <integer>438</integer>

man launchd.plist tells me:

SockPathMode <integer>
This optional key specifies the mode of the socket.

I haven't been able to find a list of modes and I haven't heard of 438 different modes either! If anyone can shed some light on what this key and value is really about I'd be very grateful.

6

The integer in the key SockPathMode is the decimal presentation of the octal POSIX permissions of the UNIX socket.

Converter: 438 > 0666 > file permissions: rw-rw-rw- (owner, group and anyone is allowed to read and write from/to the socket.

  • Ahhh, got it. Thanks. Did you find that written down somewhere or has converting numbers to file permissions become second nature? :) – Iain Jan 28 '18 at 23:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .