20 lines
432 B
Plaintext
20 lines
432 B
Plaintext
## <summary>Update database for mlocate</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Create the locate log with append mode.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## Domain allowed access.
|
|
## </param>
|
|
#
|
|
interface(`slocate_create_append_log',`
|
|
gen_require(`
|
|
type locate_log_t;
|
|
')
|
|
|
|
logging_search_logs($1)
|
|
allow $1 locate_log_t:dir ra_dir_perms;
|
|
allow $1 locate_log_t:file { create append getattr };
|
|
')
|