On 1/19/2012 5:09 PM, David F. Skoll wrote:
> I believe "make install" only sets permissions if
> /var/spool/MIMEDefang doesn't already exist.  From the Makefile:
> 
>       -test ! -d $(DESTDIR)$(SPOOLDIR) && mkdir -p $(DESTDIR)$(SPOOLDIR) && 
> chmod 700 $(DESTDIR)$(SPOOLDIR) || true



Yes but ~17 lines above that, it still gets set to 700 if the defang
user exists:


 if test "$(DEFANGUSER)" != "" ; then \
        if id "$(DEFANGUSER)" > /dev/null 2>&1 ; then \
                chown "$(DEFANGUSER)" $(DESTDIR)${CONFDIR}/mimedefang-ip-key > 
/dev/null 2>&1 || true; \
                $(INSTALL) -m 700 -o $(DEFANGUSER) -d $(DESTDIR)$(SPOOLDIR) > 
/dev/null 2>&1 || true; \

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to