Date: Sat, 03 Aug 1996 14:37:21 -0400 From: Gary Chrysler <tcg@ime.net> To: "Neil C. Jensen" <njensen@salsa.habaneros.com> Cc: "'questions@freebsd.org'" <questions@freebsd.org> Subject: Re: csh permission denied on login Message-ID: <32039C61.4A92@ime.net> References: <01BB811F.172B3EE0@jalapeno.habaneros.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Neil C. Jensen wrote: > > I've started getting some strange messages when myself and other users login to the system: > > csh: Permission denied: Permission denied > csh: Trying to start from "/home/njensen" > csh: Trying to start from "/" > % > > I can't even cd to my home directory - I get permission denied. > > The passwd entry is fairly straightforward: > njensen:*:1000:1000:Neil Carl Jensen:/home/njensen:/bin/csh > > and the listing for /bin/csh is: > -r-xr-xr-x 1 bin bin 237568 Jul 16 19:14 /bin/csh. > > If I login is as root I can see that the permissions for the directories are > ok. > > I'm running 2.1.5R. > > I posted a question yesterday re. Apache 'losing' files that were in user directories - > perhaps this is related? > > Does anyone have clues as to why this is happening? > > Thanks in advance! > > Neil Jensen > Habanero Studios Ltd. > Vancouver, Canada It's a permissions problem with your home tree.. This happened several times on me as well. A search in the questions-list archive for 'Help! Permission denied' Should result in that disscussion.. I wound up setting: dirs to 755, files to 644 with: cd / chmod 755 /usr chmod 755 /usr/home cd /usr/home find . -type d | xargs chmod 755 find . -type f | xargs chmod 644 Then did the few like .rhost by hand to 600. Guru input is welcome. -Enjoy Gary ~~~~~~~~~~~~~~~~ Improve America's Knowledge... Share yours The Borg... Where minds meet (207) 929-3848
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32039C61.4A92>