From owner-freebsd-questions Sun Feb 2 07:34:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA22575 for questions-outgoing; Sun, 2 Feb 1997 07:34:00 -0800 (PST) Received: from labs.usn.blaze.net.au (labs.usn.blaze.net.au [203.17.53.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA22567 for ; Sun, 2 Feb 1997 07:33:51 -0800 (PST) Received: (from davidn@localhost) by labs.usn.blaze.net.au (8.8.5/8.8.5) id CAA04418; Mon, 3 Feb 1997 02:33:39 +1100 (EST) Message-ID: <19970203023339.PI13773@usn.blaze.net.au> Date: Mon, 3 Feb 1997 02:33:39 +1100 From: davidn@unique.usn.blaze.net.au (David Nugent) To: grog@lemis.de (Greg Lehey) Cc: tshansen@ucsd.edu (Todd Hansen), questions@FreeBSD.org (FreeBSD Questions) Subject: Re: Can't send local mail (or use bash) after recompiling kernel References: <32F320E7.6A3@ucsd.edu> <199702021113.MAA11222@freebie.lemis.de> X-Mailer: Mutt 0.59.1 Mime-Version: 1.0 In-Reply-To: <199702021113.MAA11222@freebie.lemis.de>; from grog@lemis.de on Feb 2, 1997 12:13:20 +0100 Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk grog@lemis.de writes: > > seems to be working fine. Then I tried to send mail to my friend (local > > account) and it gave me an error that it could not execute mail.local. I > > have checked the file it listed (directory too) and it has the correct > > priviliges as a matter of fact, anybody can execute it. ~ > > There's no reason to believe that this problem relates to the kernel, > so installing another kernel will probably not help much. I'd guess > that you have a directory permission problem. Check these: > > $ ls -ld /usr/bin /bin /usr/libexec > drwxr-xr-x 2 bin bin 1024 Feb 1 15:41 /bin > drwxr-xr-x 2 bin bin 6144 Feb 1 15:53 /usr/bin > drwxr-xr-x 5 bin bin 1024 Feb 1 15:53 /usr/libexec FWIW, I find that the following commands help: cd / ; mtree -deU -f /etc/mtree/BSD.root.dist cd /usr ; mtree -deU -f /etc/mtree/BSD.usr.dist cd /var ; mtree -deU -f /etc/mtree/BSD.var.dist mtree is great for sorting out problems like this. > Reinstalling a complete operating system is overkill for just about > any problem you might have. Amen. And the second problem is to discover how it happened in the first place. I'd feel very uneasy indeed finding things like this. Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/