On Wed, 26 Aug 2009, Santiago Vila wrote:
Date: Wed, 26 Aug 2009 02:26:33 +0200 (CEST) From: Santiago Vila <sanvila@unex.es> To: Zhiliang Hu <hu@animalgenome.org> Cc: smartlist@lists.RWTH-Aachen.DE Subject: Re: flist:_Permission_denied
In my system:
# ls -l /var/list/.bin/flist -rwsr-xr-x 5 root list 25432 ene 18 2007 /var/list/.bin/flist
Those are also the permissions of the executable inside the .deb. Either those permissions were lost during the conversion to .rpm, or maybe you changed them after installing the package.
I didn't change it. Now I chmod my flist to be: -rwsr-xr-x 5 list list 25432 Jan 18 2007 /var/list/.bin/flist and I still get the same "deferral: /bin/sh:_/var/list/.bin/flist:_Permission_denied/" error.
Two things:
1. The permissions/ownerships are not the same yet. My flist is owned by root, yours is still owned by list.
In my old smartlist settings it was all owned by ~list. Okey, now I did "chown -R root list" (tested; didn't help). I suppose it has to be owned by the ~list because ~list handles the processes (it's the case at least in a number of my old installations).
2. flist is an ELF binary. Why is he trying to execute as a sh-script? Does your /etc/aliases have entries like these ones?:
foo: "|/var/list/.bin/flist foo" foo-request: "|/var/list/.bin/flist foo-request"
(or whatever the qmail-equivalent might be).
Yes, exactly. No idea how shell gets in the way. Any suggestion for alternatives? Thanks, Zhiliang
participants (1)
-
Zhiliang Hu