diff --git a/policy/modules/apps/gpg.te b/policy/modules/apps/gpg.te index 90508415b..d007b6acc 100644 --- a/policy/modules/apps/gpg.te +++ b/policy/modules/apps/gpg.te @@ -229,9 +229,11 @@ manage_dirs_pattern(gpg_agent_t, gpg_secret_t, gpg_secret_t) manage_sock_files_pattern(gpg_agent_t, gpg_secret_t, gpg_secret_t) manage_files_pattern(gpg_agent_t, gpg_secret_t, gpg_secret_t) manage_lnk_files_pattern(gpg_agent_t, gpg_secret_t, gpg_secret_t) +allow gpg_agent_t gpg_secret_t:dir watch; manage_dirs_pattern(gpg_agent_t, gpg_runtime_t, gpg_runtime_t) userdom_user_runtime_filetrans(gpg_agent_t, gpg_runtime_t, dir, "gnupg") +allow gpg_agent_t gpg_runtime_t:dir watch; manage_dirs_pattern(gpg_agent_t, gpg_agent_tmp_t, gpg_agent_tmp_t) manage_files_pattern(gpg_agent_t, gpg_agent_tmp_t, gpg_agent_tmp_t)