From owner-freebsd-questions Sat Jul 15 6:50:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wonka.esatclear.ie (wonka.esatclear.ie [194.145.128.5]) by hub.freebsd.org (Postfix) with ESMTP id 0F9D537B844; Sat, 15 Jul 2000 06:50:34 -0700 (PDT) (envelope-from fergal@esatclear.ie) Received: from vwhizzo.esatclear.ie (q-airlock195.esatclear.ie [194.165.170.195]) by wonka.esatclear.ie (8.9.3/8.9.3) with ESMTP id OAA05873; Sat, 15 Jul 2000 14:49:56 +0100 Message-Id: <4.3.2.7.0.20000715145102.00b39b00@pop.esatclear.ie> X-Sender: fergal@pop.esatclear.ie X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Sat, 15 Jul 2000 14:52:32 +0100 To: "ganizani" , , "Randall Gellens" From: Fergal Daly Subject: Re: Can't POP mail Cc: , In-Reply-To: <184691625869183658154@lists.pensive.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 14:43 15/07/00, ganizani wrote: >I might be asking too much but I have a problem here. Most of the mailboxes >have >wrong ownership. >I am running FreeBSD-4.0. I believe that this is because when the users were >transfered >from the old system we were three of us adding them to the new system from >different terminals and >some of the info was not entered correctly. > >Could someone provide a script that could rectify this problem for me. i.e. >set the ownership of each >/var/mail/user to user. cd /var/mail ls | perl -ne 'chomp; system "chown $_ $_" ' should do the trick Fergal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message