diff options
author | Guido Trentalancia <guido@trentalancia.com> | 2017-08-25 18:51:24 +0200 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2017-09-09 00:48:51 +0200 |
commit | c5fa34fb27569f5e6710a0b323221219e03b025c (patch) | |
tree | b2c9dd51575bde2e5b0bebd37cc7328d69438605 | |
parent | dbus: move comments out of the file context definitions (diff) | |
download | hardened-refpolicy-c5fa34fb.tar.gz hardened-refpolicy-c5fa34fb.tar.bz2 hardened-refpolicy-c5fa34fb.zip |
libmtp: read symlinks in user home directories
Let libmtp read symbolic links in the user home
directories, if the "libmtp_enable_home_dirs"
boolean is enabled.
Signed-off-by: Guido Trentalancia <guido@trentalancia.com>
-rw-r--r-- | policy/modules/contrib/libmtp.te | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/policy/modules/contrib/libmtp.te b/policy/modules/contrib/libmtp.te index 64c851e3..bacfb1b7 100644 --- a/policy/modules/contrib/libmtp.te +++ b/policy/modules/contrib/libmtp.te @@ -7,8 +7,8 @@ policy_module(libmtp, 1.0.0) ## <desc> ## <p> -## Determine whether libmtp can -## manage the user home directories +## Determine whether libmtp can read +## and manage the user home directories ## and files. ## </p> ## </desc> @@ -55,5 +55,6 @@ optional_policy(` tunable_policy(`libmtp_enable_home_dirs',` userdom_manage_user_home_content_files(libmtp_t) + userdom_read_user_home_content_symlinks(libmtp_t) userdom_user_home_dir_filetrans_user_home_content(libmtp_t, file ) ') |