
Hi,
My server is running Solaris 2.8 with Python 2.2.2. I just downloaded and installed the 2.1 tarball and I've run into a few issues. Please point me to the correct FAQ if I've done something wrong, otherwise, please add them to the list of things to be addressed:
Not all of the icons were copied over from the source directory into the ~mailman/icons directory during the 'make install'; only the GNU icon was, neither the Python nor the mailman icon were.
All of the subdirectories under ~mailman/{messages,templates} were created with permissions 02755 instead of 02775.
When I create a list and try to change the 'description' under the 'general options', the change is ignored.
When I submit any change under the 'general options', it now pops me back to the authentication page (it didn't do this under 2.0.13).
Thanks for any guidance or updates!
David

"DL" == David LeVine <dhl@sphds.org> writes:
DL> - Not all of the icons were copied over from the source
DL> directory into the
DL> ~mailman/icons directory during the 'make install'; only the
DL> GNU icon was, neither the Python nor the mailman icon were.
Works for me:
% ./configure --prefix=/tmp/xxx ... ... % ls /tmp/xxx/icons gnu-head-tiny.jpg mailman-large.jpg PythonPowered.png mailman.jpg mm-icon.png
DL> - All of the subdirectories under
DL> ~mailman/{messages,templates} were created with permissions
DL> 02755 instead of 02775.
Also works for me:
% ls -l /tmp/xxx/templates/ total 76 drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 big5/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 cs/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 de/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 en/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 es/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 et/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 fi/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 fr/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 gb/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 hu/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 it/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 ja/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 ko/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 lt/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 nl/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 no/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 pt_BR/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 ru/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 sv/
What OS are you using? Do you see any errors in the "make install" output? Can you check that output for anomolies?
-Barry

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Barry A. Warsaw wrote:
"DL" == David LeVine <dhl@sphds.org> writes:
[...]
[...]
What OS are you using? Do you see any errors in the "make install" output? Can you check that output for anomolies?
I noticed the same thing when I installed. I installed on a redhat 7.3 box.
I could be way off here, as I'm no Makefile guru, but I have a guess at what's happening. Please excuse me if I've missed something glaringly obvious.
Having read the INSTALL file a bit too quickly, I missed the admonition to "not be root" for the ./configure; make; make install. So, out of habit, I ran su -c "make install". root's umask was set to 0022.
The Makefiles in messages and templates call mkinstalldirs to create the directory trees but I don't see any chmod to make sure that the perms are correct. In messages/Makefile, there is a chmod on the dirs inside each subdir of messages, but that doesn't help with the language dirs themselves. There's a similar thing done in templates/Makefile.
I would guess that this normally just works because many users umasks are set to 0002 instead of 0022. Since it's important that these dirs have the proper perms, shouldn't they be chmod'd explicitly instead of relying on a users umask?
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz
We can have justice whenever those who have not been injured by injustice are as outraged by it as those who have been. -- Solon (594 B.C.)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.
iD8DBQE+HIquuv+09NZUB1oRAlHIAJ9VqiokZGkX9luFiz4OlvQa959AVACdGI95 JeDqdQrt+KeYDblK1lp4VjE= =nH+m -----END PGP SIGNATURE-----

"DL" == David LeVine <dhl@sphds.org> writes:
DL> - Not all of the icons were copied over from the source
DL> directory into the
DL> ~mailman/icons directory during the 'make install'; only the
DL> GNU icon was, neither the Python nor the mailman icon were.
Works for me:
% ./configure --prefix=/tmp/xxx ... ... % ls /tmp/xxx/icons gnu-head-tiny.jpg mailman-large.jpg PythonPowered.png mailman.jpg mm-icon.png
DL> - All of the subdirectories under
DL> ~mailman/{messages,templates} were created with permissions
DL> 02755 instead of 02775.
Also works for me:
% ls -l /tmp/xxx/templates/ total 76 drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 big5/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 cs/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 de/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 en/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 es/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 et/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 fi/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 fr/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 gb/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 hu/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 it/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 ja/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 ko/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 lt/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 nl/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 no/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 pt_BR/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 ru/ drwxrwsr-x 2 barry mailman 4096 Jan 1 11:44 sv/
What OS are you using? Do you see any errors in the "make install" output? Can you check that output for anomolies?
-Barry

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Barry A. Warsaw wrote:
"DL" == David LeVine <dhl@sphds.org> writes:
[...]
[...]
What OS are you using? Do you see any errors in the "make install" output? Can you check that output for anomolies?
I noticed the same thing when I installed. I installed on a redhat 7.3 box.
I could be way off here, as I'm no Makefile guru, but I have a guess at what's happening. Please excuse me if I've missed something glaringly obvious.
Having read the INSTALL file a bit too quickly, I missed the admonition to "not be root" for the ./configure; make; make install. So, out of habit, I ran su -c "make install". root's umask was set to 0022.
The Makefiles in messages and templates call mkinstalldirs to create the directory trees but I don't see any chmod to make sure that the perms are correct. In messages/Makefile, there is a chmod on the dirs inside each subdir of messages, but that doesn't help with the language dirs themselves. There's a similar thing done in templates/Makefile.
I would guess that this normally just works because many users umasks are set to 0002 instead of 0022. Since it's important that these dirs have the proper perms, shouldn't they be chmod'd explicitly instead of relying on a users umask?
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz
We can have justice whenever those who have not been injured by injustice are as outraged by it as those who have been. -- Solon (594 B.C.)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.
iD8DBQE+HIquuv+09NZUB1oRAlHIAJ9VqiokZGkX9luFiz4OlvQa959AVACdGI95 JeDqdQrt+KeYDblK1lp4VjE= =nH+m -----END PGP SIGNATURE-----
participants (3)
-
barry@python.org
-
David LeVine
-
Todd