Bintoo 2007.3:
(owner:group of all listed files is root:root)
(owner:group of apache server is apache:apache)
Mode of moin-1.6rc2/* |
Python version |
Mode of PO files |
Mode of PY files |
Mode of PYC files |
Error 13 |
-rw-rw-r-- |
2.3 |
-rw-rw-r-- |
-rw-r--r-- |
-rw-r--r-- |
|
-rw-rw---- |
2.3 |
-rw-rw---- |
-rw-r----- |
-rw-r--r-- |
|
-rw-rw-r-- |
2.4 |
-rw-rw-r-- |
-rw-r--r-- |
-rw-r--r-- |
|
-rw-rw---- |
2.4 |
-rw-rw---- |
-rw-r----- |
-rw-r--r-- |
|
-rw-rw-r-- |
2.5 |
-rw-rw-r-- |
-rw-r--r-- |
-rw-r--r-- |
|
-rw-rw---- |
2.5 |
-rw-rw---- |
-rw-r----- |
-rw-r--r-- |
|
Ubuntu 8.04 Alpha 2:
(owner:group of all listed files is root:root)
(owner:group of apache server is www-data:www-data)
Mode of moin-1.6rc2/* |
Python version |
Mode of PO files |
Mode of PY files |
Mode of PYC files |
Error 13 |
-rw-rw-r-- |
2.3 |
-rw-rw-r-- |
-rw-r--r-- |
-rw-r--r-- |
|
-rw-rw---- |
2.3 |
-rw-rw---- |
-rw-r----- |
-rw-r--r-- |
|
-rw-rw-r-- |
2.4 |
-rw-rw-r-- |
-rw-r--r-- |
-rw-r--r-- |
|
-rw-rw---- |
2.4 |
-rw-rw---- |
-rw-r----- |
-rw-r--r-- |
|
-rw-rw-r-- |
2.5 |
-rw-rw-r-- |
-rw-r--r-- |
-rw-r--r-- |
|
-rw-rw---- |
2.5 |
-rw-rw---- |
-rw-r----- |
-rw-r--r-- |
|
As you can see, the results with two completely different Linux distrubutions (Bintoo, that is based on Gentoo, and Ubuntu) are identical, so this bug is not distribution-specific. The results with different python version are also the same - the bug is not python-ver-specific, too.
The only way I could reproduce the bug (on any distribution/python version) was to set the mode of moin-1.6rc2/* files to -rw-rw---- (chmod -R o-rwx moin-1.6rc2) and then install moin using setup.py. It seems that this bug can not occur with the default setup, unless the mode of files is changed manually.