Could not chdir to home directory

Adam Vande More amvandemore at gmail.com
Thu Aug 26 19:07:02 UTC 2010


On Thu, Aug 26, 2010 at 12:41 PM, Nita Pavitran <nitap at juniper.net> wrote:

> I get the following error message and I seem to be in the root directory
> instead of the home directory:
>
> Could not chdir to home directory /homes/nitap: Permission denied
> > uname -a
> FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
> Mon Oct 25 16:23:23 PDT 2004
> root at bigpink.juniper.net:/usr/src/sys/compile/bigpink  i386
> >
>
> Please let me know how I can get to my home directory.
>

Wow that's an old release.

The standard home directory is in:

/usr/home/{username}
or it's equivalent
/home/{username}

You have /homes not /home in your error message which could be the cause.

You can also make sure the directory exists and has the correct permissions.

-- 
Adam Vande More


More information about the freebsd-questions mailing list