summaryrefslogtreecommitdiffstats
path: root/pym/portage/news.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-13 03:11:09 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-13 03:11:09 +0000
commitf299bc556c851e1d3794b17b72770c0818525fb4 (patch)
tree7a0eb224cd16572ee458ee8eda8c8e477aee0528 /pym/portage/news.py
parentaf332b62b9317be1b5c4052908a3f5bdc960ef59 (diff)
downloadportage-f299bc556c851e1d3794b17b72770c0818525fb4.tar.gz
portage-f299bc556c851e1d3794b17b72770c0818525fb4.tar.bz2
portage-f299bc556c851e1d3794b17b72770c0818525fb4.zip
Add quote from GLEP 42 about permission bits.
svn path=/main/trunk/; revision=11871
Diffstat (limited to 'pym/portage/news.py')
-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