compiling procmail-3.22

M.W. Chang mwchang
Mon May 17 11:59:33 PDT 2004


I found the problem. it's the permissions. In one of the Makefile:

# Makefile.1
install.bin: $(BINS) $(BASENAME)
         @-$(MKDIRS) $(BINDIR) 2>$(DEVNULL); exit 0
         @chmod 0755 $(BINS)
# above line ready the executables to assume permission 0755
         $(INSTALL) $(BINS) $(BINDIR)
# $(INSTALL} = "cp"
# the executables become 0750 after this cp command. why?

What could explain this? the file permissions should have been preserved 
by cp, but it's not the case. Scratching my head....

M.W. Chang wrote:
> Anyone got experience compiling procmail-3.22?
> 
> I applied most of the changes specified by the procmail.spec of COL-3.1, 
>   and still, the procmail-3.22 reported "couldn't unlock /tmp/procmail" 
> errors. Already made the adjustment related to kernel locking.
> 
> COL-3.1 uses procmail-3.15.
> 

-- 
   .~.    http://toylet.homeip.net
  / v \   Linux 2.4.22-xfs
/( _ )\  9:10pm up 23:04
   ^ ^    load average: 2.13 1.60 1.34


More information about the Linux-users mailing list