On Wed, 26 Aug 2009, Santiago Vila wrote:
Date: Wed, 26 Aug 2009 01:29:55 +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
On Tue, 25 Aug 2009, Zhiliang Hu wrote:
Previously I got the Smartlist to work on this RH linux box.
Today it quit working, nothing recorded in list log but this error in /var/log/maillog:
Aug 25 17:21:30 neo qmail: 1251238890.973347 delivery 128: deferral: /bin/sh:_/var/list/.bin/flist:_Permission_denied/
The only thing I did during this time was to add 'r' permission for the web server to one of the list dir, but wonder why mail to any other list address and -request addresses all got this "permission" problem. I looked at file/folder permissions and don't see anything odd. e.g.: drwxr-sr-x 2 slist slist 4096 Aug 24 10:16 ~list/.bin -rwxr-xr-x 5 slist slist 25K Jan 18 2007 ~list/.bin/flist drwxr-sr-x 3 slist slist 4096 Aug 24 13:35 ~list/mylist etc.
Any hint what could be wrong?
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. Zhiliang
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. 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).
participants (2)
-
Santiago Vila
-
Zhiliang Hu