summaryrefslogtreecommitdiffstats
path: root/layman/config.py
diff options
context:
space:
mode:
authorGunnar Wrobel <p@rdus.de>2008-06-02 15:25:32 +0000
committerGunnar Wrobel <p@rdus.de>2008-06-02 15:25:32 +0000
commit71d189c7eb7fd53c0ed006b20fc5ed0e403ed515 (patch)
tree4cf72e0c1ef1d4c755a5b197935e29e3fc37fa1f /layman/config.py
parentda7ff6a2f00cdc4c68a909cdea9d642543ac4ef5 (diff)
downloadlayman-71d189c7eb7fd53c0ed006b20fc5ed0e403ed515.tar.gz
layman-71d189c7eb7fd53c0ed006b20fc5ed0e403ed515.tar.bz2
layman-71d189c7eb7fd53c0ed006b20fc5ed0e403ed515.zip
Implement a umask setting (#186819)
Diffstat (limited to 'layman/config.py')
-rw-r--r--layman/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/layman/config.py b/layman/config.py
index 597cf2d..ff610e8 100644
--- a/layman/config.py
+++ b/layman/config.py
@@ -52,7 +52,7 @@ class Config(object):
>>> a['overlays']
'\\nhttp://www.gentoo.org/proj/en/overlays/layman-global.txt'
>>> sorted(a.keys())
- ['cache', 'config', 'local_list', 'make_conf', 'nocheck', 'overlays', 'proxy', 'quietness', 'storage']
+ ['cache', 'config', 'local_list', 'make_conf', 'nocheck', 'overlays', 'proxy', 'quietness', 'storage', 'umask']
'''
self.defaults = {'config' : '/etc/layman/layman.cfg',
@@ -62,6 +62,7 @@ class Config(object):
'make_conf' : '%(storage)s/make.conf',
'nocheck' : 'yes',
'proxy' : '',
+ 'umask' : '0022',
'overlays' :
'http://www.gentoo.org/proj/en/overlays/layman-global.'
'txt',}