[Mailman-Users] permissions error

Mark Sapiro mark at msapiro.net
Tue Mar 11 21:06:37 CET 2014


On 03/11/2014 09:25 AM, Con Wieland wrote:
> Hello,
> 
> Does anyone have any ideas why I am receiving this error. The permissions look the same as the other archives and I have run check_perms -f
> 
> 
> Your "cron" job on maillists.nac.uci.edu
> /opt/csw/bin/python -S /opt/nsp/mailman/cron/nightly_gzip
> 
> produced the following output:
> 
> Traceback (most recent call last):
>  File "/opt/nsp/mailman/cron/nightly_gzip", line 154, in <module>
>    main()
>  File "/opt/nsp/mailman/cron/nightly_gzip", line 140, in main
>    compress(f)
>  File "/opt/nsp/mailman/cron/nightly_gzip", line 81, in compress
>    outfp = gzip.open(txtfile+'.gz', 'wb', 6)
>  File "/opt/csw/lib/python/gzip.py", line 33, in open
>    return GzipFile(filename, mode, compresslevel)
>  File "/opt/csw/lib/python/gzip.py", line 79, in __init__
>    fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
> IOError: [Errno 13] Permission denied: '/opt/nsp/mailman/archives/private/mph/2009-October.txt.gz'


Have you done

  ls -l /opt/nsp/mailman/archives/private/

and compared the group and permissions on mph to those of other lists?
In particular, they should be Mailman's group and permissions drwxrwsr-x

And have you done

  ls -l /opt/nsp/mailman/archives/private/mph/

Here, the group and permissions on all the .txt and .txt.gz files should
be Mailman's group and permissions -rw-rw-r--

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list