Rick Weinbender <[EMAIL PROTECTED]> writes:

> Cory wrote:

> > On Tue, Nov 04, 2003 at 10:33:28PM -0600, Rick Weinbender wrote:
> > > Traceback (most recent call last):
> > >   File "/usr/bin/tmda-filter", line 50, in ?
> > >     execfile(os.path.join(execdir, 'tmda-rfilter'))
> > >   File "/usr/bin/tmda-rfilter", line 115, in ?
> > >     from TMDA import Defaults
> > >   File "./TMDA/Defaults.py", line 75, in ?
> > > IOError: [Errno 13] Permission denied
> > > Traceback (most recent call last):
> > >   File "/usr/bin/tmda-filter", line 64, in ?
> > >     from TMDA.Defaults import LOGFILE_DEBUG
> > > ImportError: cannot import name LOGFILE_DEBUG
> > 
> > Does the user have permission to read the TMDA/Defaults.py[c] file?
>
> Yes, permissions are mod 644 on Defaults.py
> the same on Defaults.pyc

Is the TMDA directory in /usr/bin?  Is it the correct, up-to-date TMDA
directory, or do you have others floating around your system?
Sometimes, packaged versions of TMDA install the TMDA directory to one
location and admins using tarballs put it somewhere else.  Which one
gets read depends on the internal Python module search path.  Also,
does the TMDA directory itself have the correct permissions to allow
all users to read it (0755, assuming it's owned by root)?


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to