Bug Tracker item #3313057, was opened at 2011-06-07 12:54 Message generated for change (Tracker Item Submitted) made by wicher You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3313057&group_id=250683
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: daemon Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Wicher Minnaard (wicher) Assigned to: Nobody/Anonymous (nobody) Summary: daemon does not honor umask for socket creation Initial Comment: The dspam daemon does not honor the umask from the environment it inherits. See src/daemon.c, line 133: http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=blob;f=src/daemon.c;h=4b76e0fcb8f9fc4c938100b22134e608c490e1b8;hb=HEAD#l133 It sets the umask to 000, hence /var/run/dspam/dspam.sock is srwxrwxrwx, which can be undesirable. The socket permissions should ideally be configurable via dspam.conf, but a quicker fix might be to use the inherited umask, making it up to the init script and hence the user/distro to provide the desired umask before starting dspam. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3313057&group_id=250683 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel