summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/news.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/news.py b/pym/portage/news.py
index d8139db61..ed739c23e 100644
--- a/pym/portage/news.py
+++ b/pym/portage/news.py
@@ -40,6 +40,10 @@ class NewsManager(object):
self.vdb = vardb
self.portdb = portdb
+ # GLEP 42 says:
+ # All news item related files should be root owned and in the
+ # portage group with the group write (and, for directories,
+ # execute) bits set. News files should be world readable.
self._uid = int(self.config["PORTAGE_INST_UID"])
self._gid = portage_gid
self._file_mode = 00064