projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af332b6
)
Add quote from GLEP 42 about permission bits.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 13 Nov 2008 03:11:09 +0000
(
03:11
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 13 Nov 2008 03:11:09 +0000
(
03:11
-0000)
svn path=/main/trunk/; revision=11871
pym/portage/news.py
patch
|
blob
|
history
diff --git
a/pym/portage/news.py
b/pym/portage/news.py
index d8139db61d33acf6efcf93bf19ae0c6d949f82a1..ed739c23e5b7509918a33526cbebc958c2c9731b 100644
(file)
--- 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