
--Luke --Computer Science Sysadmin, MSU Bozeman --admin(AT)cs.montana.edu 994-3931
-----Original Message----- From: mailman-users-bounces+admin=cs.montana.edu@python.org [mailto:mailman-users-bounces+admin=cs.montana.edu@python.org] On Behalf Of Todd Sent: Monday, February 24, 2003 12:28 PM To: mailman-users@python.org Subject: Re: [Mailman-Users] Errors in nightly gzip
-----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)?
ls -l /usr/local/mailman/archives/private/cs223 total 20 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
If that looks good, what are the perms of the directories back up the tree? ls -ld /usr/local/mailman/lists/ drwxrwsr-x 6 mailman mailman 4096 Feb 19 16:14
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp