All pastes #912423 Raw Edit

Something

public text v1 · immutable
·published 2008-02-21 11:28 UTC
rendered paste body
## <summary>
##	Allow the specified domain to write
##	and read apache log files.
## </summary>
## <param name="domain">
##	<summary>
##	Domain allowed access.
##	</summary>
## </param>
## <rolecap/>
#
interface(`jboss_read_write_log',`
	gen_require(`
		type jboss_log_t;
	')

	logging_search_logs($1)
	allow $1 jboss_log_t:dir list_dir_perms;
        allow $1 jboss_log_t:file read_file_perms;
	write_files_pattern($1,jboss_log_t,jboss_log_t)
')