[Mailman-Users] problem with check perms; THANKS, RICHARD!
javier
javier.romero at cedex.es
Thu Jul 3 12:52:15 CEST 2003
bash-2.03# ls -la
total 42
drwxrwsr-x 18 mailman mailman 512 Jul 3 12:50 .
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 26 Jul 3 12:50 archives ->
/dirarcon/mailman/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 23 Jul 3 12:50 lists ->
/dirarcon/mailman/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
directory permissions must be 02775: /usr/local/mailman/lists
Problems found: 1
Re-run as mailman (or root) with -f flag to fix
bash-2.03# bin/check_perms -f
directory permissions must be 02775: /usr/local/mailman/lists (fixing)
Problems found: 1
Re-run as mailman (or root) with -f flag to fix
bash-2.03# bin/check_perms
No problems found
Richard Barrett wrote:
> 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
>
>
>
--
Javier Romero Casado
tel.913357274
Dep. Comunicaciones
CEDEX
More information about the Mailman-Users
mailing list