*BSD News Article 45564


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!cs.utexas.edu!news.cs.utah.edu!sal.cs.utah.edu!kruckenb
From: kruckenb@sal.cs.utah.edu (Pete Kruckenberg)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Shell (csh/bash) and Jove can't get home directory!
Date: 19 Jun 1995 05:40:57 GMT
Organization: University of Utah Computer Science Department
Lines: 36
Message-ID: <3s32l9$4a6@magus.cs.utah.edu>
References: <3rps45$156@magus.cs.utah.edu> <3rsjl7$jfj@bonnie.tcd-dresden.de>
NNTP-Posting-Host: sal.cs.utah.edu
X-Newsreader: TIN [version 1.2 PL2]

J Wunsch (j@narcisa.sax.de) wrote:
: Pete Kruckenberg <kruckenb@sal.cs.utah.edu> wrote:

: >  csh: Permission denied
: >  csh: Trying to start from "/home/pete"
: >
: >Executing "pwd" gives "pwd: Permission denied".
: ...
: >And ls -l /home:
: > lrwxr-xr-x  1 root  wheel  9 Jun 11 22:20 /home -> /usr/home
: >And ls -l /usr/home:
: > drwxr-xr-x  2 pete  wheel  512 Jun 15 11:46 pete

: >I don't think it's a permissions problem. Any ideas what it might be?

: I think it's a permission problem.  What are the permissions for /usr
: and /usr/home?  Both directories must have the x-bits set (and should
: have the r-bits set).

No, it's not a permission problem. The permissions for /, /usr, and
/usr/home are all rwxr-xr-x, owned by root.wheel. I did a test and
changed the permissions to 777, and still had the same problem. The
permissions for /bin/sh and /usr/local/bin/bash (which I copied also
into /bin/bash) are rwxr-xr-x, owned by bin.bin. The other interesting
thing is that if I use /bin/sh for my shell, everything works
fine. Weird.

Well, since I need to get this working tomorrow, I'm going to wipe
everything clean and start a new 2.0.5R installation, then see what
happens. I'll post my progress here.

  -----------------------------------------------------------------------
  Pete Kruckenberg                               kruckenb@sal.cs.utah.edu
  University of Utah                                         pete@dsw.com
  Computer Engineering