Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 1999 13:01:09 -0800
From:      randyk <randyk@ccsales.com>
To:        questions@FreeBSD.ORG
Subject:   Re: getcwd() failed
Message-ID:  <19990203130109.09944@ccsales.com>
In-Reply-To: <19990203103916.37614@ccsales.com>; from randyk on Wed, Feb 03, 1999 at 10:39:16AM -0800
References:  <19990203103916.37614@ccsales.com>

next in thread | previous in thread | raw e-mail | index | archive | help
OK you guys!!!

Nobody answered this, I guess you guys are getting old and slow, the answer is as follows:

I:

1. Rebooted into Single User mode (-s at the boot prompt).
2. mount -u /
3. chmod 755 /usr /var
4. reboot into Multi-User mode.;

Apparently my guy had created the directories (somehow) with excluding permissions and it was affecting things,even though the ls -ld on /usr said 755 when it was in Multi-user mode...

I looked in the archives and found something where someone told the other guy to redo the
whole partition with these symtoms...that would not have worked here (takes too long).

Take care,
Randy Katz

On Wed, Feb 03, 1999 at 10:39:16AM -0800, randyk wrote:
> Hi,
> 
> FreeBSD 2.2.6, Pentium, ample RAM.
> 
> When I log into a telnet session as ANY user it gives: 
> 
> ------snip-------------------------------
> You have mail.
> csh: Permission denied: Permission denied
> csh: Trying to start from "/home/user001"
> % 
> % pwd
> pwd: Permission denied
> %
> ------snip-------------------------------
> 
> How do I debug/fix this?
> 
> Thank you,
> Randy Katz
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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