From: Martin Pool Date: Fri, 15 Mar 2002 12:53:21 +0000 (+0000) Subject: Doc: Debian uses "nogroup" instead of group "nobody", so our defaults X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/4366275bab47eb9904314c9284c63d95e0114906 Doc: Debian uses "nogroup" instead of group "nobody", so our defaults are not so good. --- diff --git a/loadparm.c b/loadparm.c index f71a3bec..c7a0db59 100644 --- a/loadparm.c +++ b/loadparm.c @@ -3,7 +3,7 @@ /* some fixes * - * Copyright (C) 2001 by Martin Pool + * Copyright (C) 2001, 2002 by Martin Pool */ /* @@ -154,7 +154,16 @@ static service sDefault = False, /* transfer logging */ False, /* ignore errors */ "nobody",/* uid */ + + /* TODO: This causes problems on Debian, where it is called + * "nogroup". Debian patch this in their version of the + * package, but it would be nice to be consistent. Possibly + * other systems are different again. + * + * What is the best behaviour? Perhaps always using (gid_t) + * -2? */ "nobody",/* gid */ + NULL, /* hosts allow */ NULL, /* hosts deny */ NULL, /* auth users */