Re: error?

dmacdoug <[email protected]> Mon, 20 Jun 2005 14:08:41 -0700
Newsgroups gmane.mail.smartlist.user
Message-ID <[email protected]>
On Mon, Jun 20, 2005 at 01:45:07PM -0500, Zhiliang Hu wrote:
> 
> Yes I deleted it and when there is a post to the list, it is created
> again, with the posting in the file. [Note: (the "cat" file in the
> list dir has a permission 665, strange, ah? ... I have "umask 002" in
> my rc.init).


For whatever it's worth, my UMASK is 007.  I wouldn't think anyone outside
of user or group should need rights to the files created, certainly not
execute rights.

> 
> I am not sure if this is a good idea but should I change the ../.bin/
> files to add the path to the excutables? [like "cat=/bin/cat"; now it
> is "cat=cat"]
> 
> Zhiliang

The problem with putting the explicit path into the variable assignment like
that is that, although it might possibly avoid the error, this variable is
assigned in at least half a dozen different scripts, so it would probably
need to be modified everywhere.  And it shouldn't be necessary.  Also, it
doesn't attack the root of the problem.

I suspect that, in some file which has been modified, there's an error in a
procmail script which is creating this extra copy of the messages in this
file.  

I'm no procmail whiz, and every time I want to make one I have to relearn
it, it seems, so I'm no one to follow, but I would start by looking at every
file that I'd modified and doing a diff between it and an unmodified version
to make sure that none of my changes, purposeful or accidental, could be
doing that.

Don