summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-02-04 01:00:03 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-02-04 01:00:03 +0000
commit7bf3ab5025a43bf25e868aaee6c80f5b42a87163 (patch)
treee5393e19ba85592f36e78ec9f1cf0347f7090876 /src
parentb529c65861eb298dacb5353d53382f1718fa7edc (diff)
downloadbcfg2-7bf3ab5025a43bf25e868aaee6c80f5b42a87163.tar.gz
bcfg2-7bf3ab5025a43bf25e868aaee6c80f5b42a87163.tar.bz2
bcfg2-7bf3ab5025a43bf25e868aaee6c80f5b42a87163.zip
Fix owner and group names that contain dashes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2781 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py
index 9169e2409..5d0ebb2ac 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -70,7 +70,7 @@ class FileEntry(Bcfg2.Server.Plugin.FileBacked):
class ConfigFileEntry(object):
'''ConfigFileEntry is a repository entry for a single file, containing
all data for all clients.'''
- info = re.compile('^owner:(\s)*(?P<owner>\w+)|group:(\s)*(?P<group>\w+)|' +
+ info = re.compile('^owner:(\s)*(?P<owner>\S+)|group:(\s)*(?P<group>\S+)|' +
'perms:(\s)*(?P<perms>\w+)|encoding:(\s)*(?P<encoding>\w+)|' +
'(?P<paranoid>paranoid(\s)*)|interpolate:(\s)*(?P<interpolate>\w+)(\s)*$')