summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-11-24 15:12:01 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-11-24 15:12:01 +0000
commit1a1121aa48789119f3efb52aaba11e9c95881f4f (patch)
treedf3c13444d6c9bce661d68782dc76f8137a66d06 /src/lib
parent511b7c00f874ea019caaadac0b7dca049eec2d45 (diff)
downloadbcfg2-1a1121aa48789119f3efb52aaba11e9c95881f4f.tar.gz
bcfg2-1a1121aa48789119f3efb52aaba11e9c95881f4f.tar.bz2
bcfg2-1a1121aa48789119f3efb52aaba11e9c95881f4f.zip
Improve error message for failed user/group resolution
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2537 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/POSIX.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py
index 146fa7070..b086085a9 100644
--- a/src/lib/Client/Tools/POSIX.py
+++ b/src/lib/Client/Tools/POSIX.py
@@ -93,7 +93,7 @@ class POSIX(Bcfg2.Client.Tools.Tool):
owner = pwd.getpwuid(ondisk[ST_UID])[0]
group = grp.getgrgid(ondisk[ST_GID])[0]
except (OSError, KeyError):
- self.logger.error('User resolution failing')
+ self.logger.error('User/Group resolution failed for path %s' % (entry.get('name')))
owner = 'root'
group = 'root'
perms = oct(os.stat(entry.get('name'))[ST_MODE])[-4:]