[Mailman-Users] problem with check perms

Richard Barrett r.barrett at openinfo.co.uk
Thu Jul 3 12:41:41 CEST 2003


At 11:24 03/07/2003, javier wrote:
>SO:solaris 8, i'm trying to save lists and archives in a network applyant, 
>how can i make symbolic links to those folders??
>
>thankyou
>
>bash-2.03# cd /usr/local/mailman/
>bash-2.03# ls -la
>total 42
>drwxrwsr-x  18 mailman  mailman      512 Jul  3 12:18 .
>drwxr-xr-x  10 root     other        512 Jun 27 13:06 ..
>drwxrwsr-x  11 root     mailman     1536 Jul  2 11:22 Mailman
>lrwxrwxrwx   1 root     mailman        8 Jul  3 12:18 archives -> archives
>drwxrwsr-x   2 root     mailman     1024 Jul  2 11:23 bin
>drwxrwsr-x   2 root     mailman      512 Jul  2 11:22 cgi-bin
>drwxrwsr-x   2 root     mailman      512 Jul  2 11:22 cron
>drwxrwsr-x   2 root     mailman      512 Jul  2 11:22 data
>drwxrwsr-x   2 root     mailman      512 Jul  2 11:22 icons
>lrwxrwxrwx   1 root     mailman        5 Jul  3 12:18 lists -> lists
>drwxrwsr-x   2 root     mailman      512 Jul  1 12:40 locks
>drwxrwsr-x   2 root     mailman      512 Jul  2 11:24 logs
>drwxrwsr-x   2 root     mailman      512 Jul  2 11:22 mail
>drwxrwsr-x  20 root     mailman      512 Jul  1 12:42 messages
>drwxrwsr-x   6 root     mailman      512 Jul  1 12:41 pythonlib
>drwxrwsr-x   2 root     mailman      512 Jul  1 12:40 qfiles
>drwxrwsr-x   2 root     mailman      512 Jul  2 11:24 scripts
>drwxrwsr-x   2 root     mailman      512 Jul  1 12:40 spam
>drwxrwsr-x  23 root     mailman      512 Jul  1 12:41 templates
>drwxrwsr-x   4 root     mailman      512 Jul  2 11:23 tests
>bash-2.03# bin/check_perms
>Traceback (most recent call last):
>  File "bin/check_perms", line 362, in ?
>    checkall()
>  File "bin/check_perms", line 185, in checkall
>    os.path.walk(d, checkwalk, STATE)
>  File "/usr/local/lib/python2.2/posixpath.py", line 279, in walk
>    func(arg, top, names)
>  File "bin/check_perms", line 99, in checkwalk
>    mode, gid = statgidmode(path)
>  File "bin/check_perms", line 84, in statgidmode
>    stat = os.stat(path)
>OSError: [Errno 90] Number of symbolic links encountered during path name 
>traversal exceeds MAXSYMLINKS: '/usr/local/mailman/archives'

 From the 'ls' output, both 'archives' and 'lists' appear to be symlinks to 
themselves. This would explain why MAXSYMLINKS needs to exist and why it is 
being exceeded.

In answer to your first question, how is the file space on this 'network 
appliance' made available in your file system? Is it NFS mounted? If so 
where is it mounted and what is the problem you have in creating the 
necessary symlinks to it. If not, you will have a real problem putting a 
symlink in your file system to it.

>--
>Javier Romero Casado
>  tel.913357274
>Dep. Comunicaciones
>     CEDEX

------------------------------------------------------------------------------
Richard Barrett                                      http://www.openinfo.co.uk





More information about the Mailman-Users mailing list