From owner-freebsd-questions Mon Dec 16 9:30:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC51437B401 for ; Mon, 16 Dec 2002 09:30:09 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB42643EA9 for ; Mon, 16 Dec 2002 09:30:08 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id B642355; Mon, 16 Dec 2002 19:26:58 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 6AB7D2FDD16; Mon, 16 Dec 2002 18:30:01 +0100 (CET) Date: Mon, 16 Dec 2002 18:30:01 +0100 From: Roman Neuhauser To: Kirk Bailey Cc: freebsd-questions Subject: Re: automating list deletion Message-ID: <20021216173001.GY56031@freepuppy.bellavista.cz> Mail-Followup-To: Kirk Bailey , freebsd-questions References: <3DFAD312.5090408@netzero.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DFAD312.5090408@netzero.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # idiot1@netzero.net / 2002-12-14 01:43:30 -0500: > OK, I got it to work with the cgi script and the aliases file. > > 1. Seperated out the aliases for lists into another file, > 'aliases.tinylist'. > > 2. edited sendmail.cf so it referrs to an additional file, > /etc/mail/aliases.tinylist, and it works fine. newaliases works with > the new file just fine. > > 3. ok, panick time, take your asprin and calming meditation exercises > serious. I assigned ownership of ~/mail dir( that is, '/etc/mail') to > 'nobody', the apache identity. Group membership remained the same > ('wheel'). I insured all the aliases files are readable by group and > world, but only writable by owner. A test run shows the script can now > write to the dir and read and write to the files there. > > I am still getting an error, but it is a different error. Files are > being deleted fine, but somehow I still have soem sort of a permissions > error going on here. Anyone relly cunning on such matters drop me a > line off list and we can swap confusion modes. ok, I gave up and looked up crontab + script in the marc.theaimsgroup.com archive: 4th and 11th hit are posts by me solving the problem you were pondering for two weeks now: http://marc.theaimsgroup.com/?l=freebsd-questions&m=103821843025544&w=2 http://marc.theaimsgroup.com/?l=freebsd-questions&m=103466227918347&w=2 this is exactly what you need to do (I have told you to look at the archives), so please, do it. *stop* fucking up with the permissions on system directories, you'll regret it later. also, this problem has nothing to do with python, so don't abuse inappropriate mailing lists. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message