Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <19970203023339.PI13773@usn.blaze.net.au>
In-Reply-To: <199702021113.MAA11222@freebie.lemis.de>; from grog@lemis.de on Feb 2, 1997 12:13:20 %2B0100
References:  <32F320E7.6A3@ucsd.edu> <199702021113.MAA11222@freebie.lemis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970203023339.PI13773>