RE: [Mailman-Users] Errors in nightly gzip

2003-02-27 Thread Lucas Albers
Todd,
[EMAIL PROTECTED] root]# ls -ld /usr/local/mailman /usr/local/mailman/archives
/usr/local/mailman/archives/private/
drwxrwsr-x   21 mailman  mailman  4096 Feb 12 20:17
/usr/local/mailman
drwxrwsr-x4 mailman  mailman  4096 Feb  3 19:04
/usr/local/mailman/archives
drwxrws--x   10 mailman  mailman  4096 Feb 19 16:14
/usr/local/mailman/archives/private/


Sort of annoying really, I am not sure why the permission on some of my
subdirectories are off, and check_perms does not seem to find the
errors.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Todd
Sent: Monday, February 24, 2003 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [Mailman-Users] Errors in nightly gzip


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Luke,

Lucas Albers wrote:
 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-x2 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-rw1 mailman  mailman   844 Feb 18 14:42 pipermail.pck

Actually, what I was asking about was the permissions on the directory
itself.  Like this:

ls -ld /usr/local/mailman/archives/private/cs223

If the permissions there look reasonable, then repeat that command,
removing a directory each time, ala:

ls -ld /usr/local/mailman/archives/private
ls -ld /usr/local/mailman/archives
ls -ld /usr/local/mailman

- -- 
Todd  OpenPGP - KeyID: 0xD654075A | URL:
www.pobox.com/~tmz/pgp


The end move in politics is always to pick up a gun.
-- Buckminster Fuller

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

iD8DBQE+Wpcwuv+09NZUB1oRAhUkAJ0Sf/kkX8g/QbOXebSIK6uKxDBSNwCeLtq/
mPgROeZb2spYAmLVb6WsDso=
=3YOY
-END PGP SIGNATURE-

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives:
http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/admin%40cs.montana.
edu


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Errors in nightly gzip

2003-02-27 Thread 'Todd'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Lucas,

Lucas Albers wrote:
 [EMAIL PROTECTED] root]# ls -ld /usr/local/mailman /usr/local/mailman/archives
 /usr/local/mailman/archives/private/
 drwxrwsr-x   21 mailman  mailman  4096 Feb 12 20:17 /usr/local/mailman
 drwxrwsr-x4 mailman  mailman  4096 Feb  3 19:04 /usr/local/mailman/archives
 drwxrws--x   10 mailman  mailman  4096 Feb 19 16:14 
 /usr/local/mailman/archives/private/

 Sort of annoying really, I am not sure why the permission on some of my
 subdirectories are off, and check_perms does not seem to find the
 errors.

There doesn't appear to be anything wrong with those perms.  The private
archive directory isn't supposed to be world readable.  The one directory
that's not listed is /usr/local/mailman/archives/private/cs223 .  What are
the perms on that one?  IIRC, that's the directory that mailman is having
trouble writing to.

- -- 
Todd  OpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp

To tax the community for the advantage of a class is not protection: it is
plunder.
-- Benjamin Disraeli

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

iD8DBQE+Xcx0uv+09NZUB1oRAmgKAJ9RX3nX0uJdjKHVM5RM06n7S632lQCePxfn
Cr7/IpTFlleGg1herAA3aFw=
=Wj49
-END PGP SIGNATURE-

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Errors in nightly gzip

2003-02-24 Thread Todd
-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-x2 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-rw1 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-

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Errors in nightly gzip

2003-02-24 Thread Todd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Luke,

Lucas Albers wrote:
 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-x2 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-rw1 mailman  mailman   844 Feb 18 14:42 pipermail.pck

Actually, what I was asking about was the permissions on the directory
itself.  Like this:

ls -ld /usr/local/mailman/archives/private/cs223

If the permissions there look reasonable, then repeat that command, removing
a directory each time, ala:

ls -ld /usr/local/mailman/archives/private
ls -ld /usr/local/mailman/archives
ls -ld /usr/local/mailman

- -- 
Todd  OpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp

The end move in politics is always to pick up a gun.
-- Buckminster Fuller

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

iD8DBQE+Wpcwuv+09NZUB1oRAhUkAJ0Sf/kkX8g/QbOXebSIK6uKxDBSNwCeLtq/
mPgROeZb2spYAmLVb6WsDso=
=3YOY
-END PGP SIGNATURE-

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org