[Mailman-Users] install problem with check_perms

Tom Bryan tbryan at server.python.net
Tue Jul 13 13:59:26 CEST 1999

On Tue, 13 Jul 1999, e.d.j.m. eskes wrote:

> I've the same problem!
> Besides that I got a lot of error messages during the
> 'make install'.
> Is there any relation between those two error messages?
> make[1]: Entering directory `/home/bob/mailman-1.0rc3/templates'
> for f in *.html *.txt; \
> do \
>     mv -f /home/mailman/templates/$f /home/mailman/templates/$f.prev ||
> /bin/true; \
>     /usr/bin/install -c -m 644 $f /home/mailman/templates; \
> done
> mv: /home/mailman/templates/archives.html: No such file or directory

> > [root at csociety mailman]# bin/check_perms
> > Traceback (innermost last):
> >   File "bin/check_perms", line 164, in ?
> >     checkadminpw()
> >   File "bin/check_perms", line 128, in checkadminpw
> >     mode = statmode(adminpw)
> >   File "bin/check_perms", line 39, in statmode
> >     return os.stat(path)[ST_MODE]
> > os.error: (2, 'No such file or directory')

Possibly.  Maybe add the line
print path
to bin/check_perms just before it does the os.stat(path)[ST_MODE].
(Make sure that the "print path" line has the same indentation as the
os.stat line.  (It's probably best to use spaces and no tabs to ensure
the correct indentation unless your editor has a good python mode.)  The
error looks like it's just saying that one of the paths it's checking
doesn't exist.  That would seem to indicate an error with your
installation.  Does the /home/mailman directory even have a templates
subdirectory?  Is there anything in it?


More information about the Mailman-Users mailing list