On Sun, 4 Feb 2007 08:29:43 +0100 manu@... wrote: > > It seems the best > > option would be to use umask(), but then it's impossible to use syntax like > > socket "/foo/bar/sock" 660, isn't it? > > I have two concerns: > - can we screw things in smfi_main() by tempering with umask()? > - doesn't smfi_main() set umask() to avoid such problems? According to http://www.milter.org/milter_api/smfi_setconn.html , using umask it the official way: The permissions for a unix/local domain socket are determined as usual by umask, which should be set to 007 or 077. Regards, Nerijus
Message
Re: [milter-greylist] group permissions for socket
2007-02-04 by Nerijus Baliunas