procmail
[Top] [All Lists]

Re: Procmail -- "No permission to execute"

2003-05-21 07:12:38
Hello everyone.  I have an existing situation, which I tried to get
answered on comp.mail.sendmail, but with no luck.

I finally found this mailing list  :)  and was wondering if anyone had an
answer?


Thanks ahead of time.


---------- Forwarded message ----------
Date: Tue, 20 May 2003 10:55:28 -0400
From: Birl <sbirl-nospam(_at_)concept(_dot_)ocis(_dot_)temple(_dot_)edu>
Newsgroups: comp.mail.sendmail
Subject: Re: Procmail -- "No permission to execute"


Per Hedeland wrote:
In article <2f4dc96dbcd6378d1cd89be748bb0607(_at_)TeraNews> Birl
<sbirl-nospam(_at_)concept(_dot_)temple(_dot_)edu> writes:

Birl>  This seems to be the place to discuss procmail issues.


Well, since you didn't get any answers to the same question three weeks
ago, maybe not.


Yeah I guess not.


Birl>  If anyone knows of a better place, please let me know.


How about the procmail mailing list? Actually just typing the Subject
line of your posting into Google brings up a thread from there as the
very first hits.


I googled `procmail "No permission to execute"` before coming here.
Those results did not help.


Birl>  My procmail.log file contains multiple entries:
Birl>  -----
Birl>  procmail: No permission to execute "/usr/bin/date"
Birl>  procmail: No permission to execute "/usr/bin/formail"
Birl>  -----
Birl>
Birl>  -r-xr-xr-x   1 root     bin         8932 Apr  6  2002 /usr/bin/date*
Birl>  -rwx------   1 root     other      34216 Oct 21  2002 /usr/bin/formail*
Birl>  -rwsr-sr-x   1 root     mail       84384 Oct 21  2002 
/usr/bin/procmail*


Well, only root can execute formail, so that one is no surprise.


Birl>  Did I forget to do something?  I find it odd that procmail could
Birl>  not execute the date command.


Can you do it as a non-root user? What are the permissions on /, /usr,
and /usr/bin?

--Per Hedeland
per(_at_)hedeland(_dot_)org



I can execute date from any shell under any user without a problem.

drwxr-xr-x  29 root     root        1536 May 16 09:45 /
drwxr-xr-x  35 root     sys         1024 May  1 11:41 /usr
drwxr-xr-x   4 root     bin         9728 Mar 31 11:45 /usr/bin

uid=100(sbirl) gid=14(sysadmin) groups=14(sysadmin)


Thanks
Birl

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>