site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi, I have a .plist file for my daemon as follows:- Thanks _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Debug</key> <false/> <key>Label</key> <string>com.<com-name>.daemon.ABC</string> <key>OnDemand</key> <true/> <key>ProgramArguments</key> <array> <string>/Users/<usr-name>/Debug/ABC</string> </array> <key>ServiceIPC</key> <true/> <key>Sockets</key> <dict> <key>RegistryDomainSocket</key> <dict> <key>SockFamily</key> <string>Unix</string> <key>SockPassive</key> <false/> <key>SockPathMode</key> <integer>49663</integer> <key>SockPathName</key> <string>/tmp/MYSOCKET</string> </dict> </dict> </dict> </plist> The socket permissions for /tmp/MYSOCKET should be set to rwx for all, but the socket gets created with the permissions as srwxr-xr-x . Tried using *decimal 777 for SockPathName* too. But it doesnt seem to have any change. My daemon is required to run in background and should be able to respond to request from any user through a UI. *If required how can I explicitly set the permissions of my socket to srwxrwxrwx after creating it, in my app? This email sent to site_archiver@lists.apple.com