Mercurial > hg > mlmmj
changeset 395:f4d98bcb6f61
Inform about uid in the logs when invoked wrongly
author | mmj |
---|---|
date | Mon, 29 Nov 2004 19:10:48 +1100 |
parents | d71a4ee2c8d0 |
children | 8814c4bfafe3 |
files | ChangeLog src/mlmmj-recieve.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Nov 29 06:01:31 2004 +1100 +++ b/ChangeLog Mon Nov 29 19:10:48 2004 +1100 @@ -1,4 +1,6 @@ 1.1.0 + o If mlmmj-recieve was invoked with a uid not root or not the owner of listdir + inform about the uid actually invoked with o Add German listtexts (Hendrik Norman Vogelsang) o Add hooks for installing listtexts into $(pkgdatadir) (Drake Wyrm) o Add mlmmj-list manual page
--- a/src/mlmmj-recieve.c Mon Nov 29 06:01:31 2004 +1100 +++ b/src/mlmmj-recieve.c Mon Nov 29 19:10:48 2004 +1100 @@ -102,7 +102,8 @@ if(uid && uid != st.st_uid) { log_error(LOG_ARGS, "Have to invoke either as root " - "or as the user owning listdir"); + "or as the user owning listdir " + "Invoked with uid = [%d]", (int)uid); writen(STDERR_FILENO, "Have to invoke either as root " "or as the user owning listdir\n", 60);