[Mailman-Users] Errors in nightly gzip

Todd Freedom_Lover at pobox.com
Mon Feb 24 20:28:13 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lucas Albers wrote:
> I am getting errors in my nightly gzip job.
> Any ideas what is causing it?
> Check-perms does not find any errors.
[...]
> Message Excerpt:
> Traceback (most recent call last):
>   File "/usr/local/mailman/cron/nightly_gzip", line 154, in ?
>     main()
>   File "/usr/local/mailman/cron/nightly_gzip", line 140, in main
>     compress(f)
>   File "/usr/local/mailman/cron/nightly_gzip", line 81, in compress
>     outfp = gzip.open(txtfile+'.gz', 'wb', 6)
>   File "//usr/lib/python2.2/gzip.py", line 30, in open
>     return GzipFile(filename, mode, compresslevel)
>   File "//usr/lib/python2.2/gzip.py", line 43, in __init__
>     fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
> IOError: [Errno 13] Permission denied:
> '/usr/local/mailman/archives/private/cs223/2003-February.txt.gz'
>
> Permissions on my those files are:
> drwxrwsr-x    2 mailman  mailman      4096 Feb 18 14:42 2003-February
> -rw-rw-r--    1 mailman  mailman      1484 Feb 18 14:42 2003-February.txt
> drwxrws---    2 mailman  mailman      4096 Feb 18 14:42 database
> -rw-rw-rw-    1 apache   mailman      1156 Feb 18 14:42 index.html
> -rw-rw----    1 mailman  mailman       844 Feb 18 14:42 pipermail.pck

Just out of curiosity, what are the perms on the directory where mailman is
trying to create the file (/usr/local/mailman/archives/private/cs223)?

If that looks good, what are the perms of the directories back up the tree?

- -- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
Wisdom has two parts: (1) having a lot to say and (2) not saying it.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE+WnJNuv+09NZUB1oRAjUbAJ4t0AJzuB3UxKehPXomJDlSIXwu3wCgjeXJ
/GiH4lBz9A+WYT9pm6Jpy/A=
=yhLs
-----END PGP SIGNATURE-----



More information about the Mailman-Users mailing list