Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
Re: Making httpd work with trac and svn: msg#00087
|
Subject: |
Re: Making httpd work with trac and svn |
Robin Bowes wrote:
Daniel J Walsh said the following on 13/12/2005 18:49:
Robin Bowes wrote:
# Needed to allow svnmailer to execute and send commit notifications
# using sendmail as httpd user
allow httpd_t trac_var_t:file execute;
allow httpd_t trac_var_t:file execute_no_trans;
allow restorecon_t devpts_t:chr_file getattr;
allow httpd_t sbin_t:lnk_file read;
I followed the instructions here [1] to set up trac to work with SELinux.
[1] http://projects.edgewall.com/trac/wiki/TracWithSeLinux
trac_var_t is a file type creagted by the SELinux config listed on that
site.
Ok from reading that policy, it looks like you would be able to write to
those directories, but now you are trying to execute files in those
directories?
Yes. I am running svn hooks. eg. post-commit.
The post-commit script runs svn-mailer which, in turn, sends mail using
/usr/sbin/sendmail and also (optionally) includes diffs in the mails
(hence the need for temp file access).
R.
--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Not sure why you needed smpt since httpd should be allowed to transition
to system_mail_t via sendmail
You chould set the /var/trac directories to httpd_sys_content_t and I
think you will get the execute for free.
--
|
| |