diff options
| author | bwarsaw | 2001-05-11 18:20:52 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-11 18:20:52 +0000 |
| commit | 46f528dd638e8f62c57a09d4e78c7c02706448d4 (patch) | |
| tree | b6c71eee05fa37c7b02332421c4a4056981a002f | |
| parent | 0fb8b84696202bd30064f6272280d42f5b97adfd (diff) | |
| download | mailman-46f528dd638e8f62c57a09d4e78c7c02706448d4.tar.gz mailman-46f528dd638e8f62c57a09d4e78c7c02706448d4.tar.zst mailman-46f528dd638e8f62c57a09d4e78c7c02706448d4.zip | |
| -rw-r--r-- | Mailman/MTA/Postfix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/MTA/Postfix.py b/Mailman/MTA/Postfix.py index db719a0e1..d72a1ff73 100644 --- a/Mailman/MTA/Postfix.py +++ b/Mailman/MTA/Postfix.py @@ -239,14 +239,14 @@ def checkperms(state): # group ownership of the file, since check_perms checks this itself. if state.VERBOSE: print _('checking ownership of %(DBFILE)s') - rootuid = pwd.getpwnam('root')[2] + rootuid = pwd.getpwnam('mailman')[2] ownerok = stat[ST_UID] == rootuid if not ownerok: try: owner = pwd.getpwuid(stat[ST_UID])[0] except KeyError: owner = 'uid %d' % stat[ST_UID] - print _('%(DBFILE)s owned by %(owner)s (must be owned by root)') + print _('%(DBFILE)s owned by %(owner)s (must be owned by mailman)') state.ERRORS += 1 if state.FIX: print _('(fixing)') |
