Re: [Mailman-Users] does ~mailman _REALLY_ need to be (2)775?

"Barry A. Warsaw" <bwarsaw@cnri.reston.va.us> writes:
"SD" == Soren Dayton <csdayton@cs.uchicago.edu> writes:
SD> Because I stash sendmail aliases in ~mailman/aliases, I SD> _don't_ have the mailman directory (2)775. But all the SD> relevant places (that is, everything _BUT_ ~mailman/aliases). SD> Is there some reason that the configure script _HAS TO_ bomb SD> out on me (and I have to change the permissions, and sendmail SD> has to log to hell and back for 3 minutes, etc.)
Hi Soren,
I'm not sure exactly which permission bits you're objecting to (is it the set-gid bit?) but once the initial install of the subdirs happens, nothing else gets written into ~mailman.
My question is about the second 7. Does the mailman directory really need to be group writable? Clearly all of its subdirectories do, but that is unrelated.
Soren

"SD" == Soren Dayton <csdayton@cs.uchicago.edu> writes:
SD> My question is about the second 7. Does the mailman directory SD> really need to be group writable? Probably not. How does this patch work for you? -Barry -------------------- snip snip -------------------- === cd /home/bwarsaw/projects/mailman/ === /depot/gnu/plat/bin/cvs diff -u configure configure.in Index: configure =================================================================== RCS file: /projects/cvsroot/mailman/configure,v retrieving revision 1.36 diff -u -r1.36 configure --- configure 1999/07/12 20:35:19 1.36 +++ configure 1999/07/21 02:07:00 @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.37 +# From configure.in Revision: 1.38 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 @@ -1175,9 +1175,9 @@ problems.append("Directory must be owned by group mailman: " + prefix) if (mode & S_ISGID) <> S_ISGID: problems.append("Set-gid bit must be set for directory: " +prefix) - perms = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH + perms = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH if (mode & perms) <> perms: - problems.append("Permissions should be at least 0775: " + prefix) + problems.append("Permissions should be at least 02755: " + prefix) if not problems: msg = "okay\n" else: Index: configure.in =================================================================== RCS file: /projects/cvsroot/mailman/configure.in,v retrieving revision 1.38 diff -u -r1.38 configure.in --- configure.in 1999/07/12 20:35:19 1.38 +++ configure.in 1999/07/21 02:06:57 @@ -221,9 +221,9 @@ problems.append("Directory must be owned by group mailman: " + prefix) if (mode & S_ISGID) <> S_ISGID: problems.append("Set-gid bit must be set for directory: " +prefix) - perms = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH + perms = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH if (mode & perms) <> perms: - problems.append("Permissions should be at least 0775: " + prefix) + problems.append("Permissions should be at least 02755: " + prefix) if not problems: msg = "okay\n" else: === Exit status: 1
participants (2)
-
Barry A. Warsaw
-
Soren Dayton