Doc: Debian uses "nogroup" instead of group "nobody", so our defaults
[rsync/rsync.git] / loadparm.c
index f71a3be..c7a0db5 100644 (file)
@@ -3,7 +3,7 @@
 
 /* some fixes
  *
- * Copyright (C) 2001 by Martin Pool <mbp@samba.org>
+ * Copyright (C) 2001, 2002 by Martin Pool <mbp@samba.org>
  */
 
 /* 
@@ -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 */