2016-12-11 14:15:30

by guido

[permalink] [raw]
Subject: [refpolicy] [PATCH] openoffice: permission to read user temporary files

Let openoffice read user temporary files: this is needed for
better integration with mozilla.

Signed-off-by: Guido Trentalancia <[email protected]>
---
policy/modules/contrib/openoffice.te | 1 +
1 file changed, 1 insertion(+)

--- refpolicy-git-07122016-orig/policy/modules/contrib/openoffice.te 2016-12-07 13:39:50.052911146 +0100
+++ refpolicy-git-07122016/policy/modules/contrib/openoffice.te 2016-12-11 15:10:50.642603778 +0100
@@ -72,6 +72,7 @@ ooffice_dontaudit_exec_tmp_files(ooffice
sysnet_dns_name_resolve(ooffice_t)

userdom_dontaudit_exec_user_home_content_files(ooffice_t)
+userdom_read_user_tmp_files(ooffice_t)
userdom_manage_user_home_content_dirs(ooffice_t)
userdom_manage_user_home_content_files(ooffice_t)
userdom_manage_user_home_content_symlinks(ooffice_t)


2016-12-11 20:15:35

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] openoffice: permission to read user temporary files

On 12/11/16 09:15, Guido Trentalancia via refpolicy wrote:
> Let openoffice read user temporary files: this is needed for
> better integration with mozilla.
>
> Signed-off-by: Guido Trentalancia <[email protected]>
> ---
> policy/modules/contrib/openoffice.te | 1 +
> 1 file changed, 1 insertion(+)
>
> --- refpolicy-git-07122016-orig/policy/modules/contrib/openoffice.te 2016-12-07 13:39:50.052911146 +0100
> +++ refpolicy-git-07122016/policy/modules/contrib/openoffice.te 2016-12-11 15:10:50.642603778 +0100
> @@ -72,6 +72,7 @@ ooffice_dontaudit_exec_tmp_files(ooffice
> sysnet_dns_name_resolve(ooffice_t)
>
> userdom_dontaudit_exec_user_home_content_files(ooffice_t)
> +userdom_read_user_tmp_files(ooffice_t)
> userdom_manage_user_home_content_dirs(ooffice_t)
> userdom_manage_user_home_content_files(ooffice_t)
> userdom_manage_user_home_content_symlinks(ooffice_t)

Merged.

--
Chris PeBenito