From: sven.vermeulen@siphos.be (Sven Vermeulen)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH/RFC 2/4] Allow users to manage their xdg_* locations
Date: Sun, 4 Sep 2011 14:13:41 +0200 [thread overview]
Message-ID: <20110904121341.GC11390@siphos.be> (raw)
In-Reply-To: <20110904121223.GA11390@siphos.be>
The xdg locations as defined under the xdg module are all within a
users' HOMEDIR.
We allow the user to administer his xdg_* files.
Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
policy/modules/system/userdomain.if | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
index c6d3cc8..c4afffe 100644
--- a/policy/modules/system/userdomain.if
+++ b/policy/modules/system/userdomain.if
@@ -243,6 +243,9 @@ interface(`userdom_manage_home_role',`
filetrans_pattern($2, user_home_dir_t, user_home_t, { dir file lnk_file sock_file fifo_file })
files_list_home($2)
+ # manage user xdg locations
+ xdg_admin($2)
+
# cjp: this should probably be removed:
allow $2 user_home_dir_t:dir { manage_dir_perms relabel_dir_perms };
--
1.7.3.4
next prev parent reply other threads:[~2011-09-04 12:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-04 12:12 [refpolicy] [PATCH/RFC 0/4] Introduce XDG type definitions Sven Vermeulen
2011-09-04 12:13 ` [refpolicy] [PATCH/RFC 1/4] Introduce xdg types Sven Vermeulen
2011-09-14 12:24 ` Christopher J. PeBenito
2011-09-04 12:13 ` Sven Vermeulen [this message]
2011-09-04 12:14 ` [refpolicy] [PATCH 3/4] Allow the dbusd_t domains to read xdg data Sven Vermeulen
2011-09-04 12:14 ` [refpolicy] [PATCH/RFC 4/4] Allow mozilla " Sven Vermeulen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110904121341.GC11390@siphos.be \
--to=sven.vermeulen@siphos.be \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.