INSTALL: simplified the 'SETUID copy of deliver' part
authorPascal Volk <neverseen@users.sourceforge.net>
Thu, 15 Apr 2010 17:06:30 +0000
changeset 247 dbcb29ac89fa
parent 239 184970fd7486
child 248 da241eacad4d
child 258 9bf8d97ced88
INSTALL: simplified the 'SETUID copy of deliver' part
INSTALL
--- a/INSTALL	Mon Apr 05 11:00:13 2010 +0000
+++ b/INSTALL	Thu Apr 15 17:06:30 2010 +0000
@@ -105,10 +105,7 @@
     chmod 700 /usr/local/lib/dovecot
     chown nobody /usr/local/lib/dovecot
     cp /usr/lib/dovecot/deliver /usr/local/lib/dovecot/
-    # on BSD:
-    chgrp nobody /usr/local/lib/dovecot/deliver
-    # on Linux:
-    chgrp nogroup /usr/local/lib/dovecot/deliver
+    chown root:`id -g nobody` /usr/local/lib/dovecot/deliver
     chmod u+s,o-rwx /usr/local/lib/dovecot/deliver