Re: permission problems with script run via crondargs -m

Robert Moskowitz <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>

On 5/12/20 12:13 PM, Lukas Vrabec wrote:
> Oh, and this script runs fine for root's crontab tasks.  It is failing
>> on whatever kicks off logwatch.
>>
> Yes, that's the problem.
>
>
> Can you please run:
>
> # semanage fcontext -a -t sendmail_exec_t /usr/local/mycron
> # restorecon -Rv /usr/local
>
> and then reproduce it? This could help.


It works now.  Thanks!

Of course I am changing my mycron script yet again!  I was shown how to 
use formail/procmail as a simple MDA.  Still need a script file, and 
probably still need all these selinux changes for it,

eventhough only procmail is touching /var/spool/mail/

_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.