From owner-freebsd-questions Fri Nov 22 00:05:35 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA04013 for questions-outgoing; Fri, 22 Nov 1996 00:05:35 -0800 (PST) Received: from foo.primenet.com (ip201.sjc.primenet.com [206.165.96.201]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA03997 for ; Fri, 22 Nov 1996 00:05:29 -0800 (PST) Received: (from bkogawa@localhost) by foo.primenet.com (8.7.5/8.6.12) id AAA06313; Fri, 22 Nov 1996 00:10:49 -0800 (PST) Date: Fri, 22 Nov 1996 00:10:49 -0800 (PST) Message-Id: <199611220810.AAA06313@foo.primenet.com> To: root@narcissus.ml.org Subject: Re: tcsh apparently failing to run .cshrc Newsgroups: localhost.freebsd.questions References: <> From: "Bryan K. Ogawa" Cc: Snob Art Genre , questions@freebsd.org, JBH X-Newsreader: NN version 6.5.0 #1 (NOV) Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In localhost.freebsd.questions you write: >On Fri, 22 Nov 1996, JBH wrote: [...] > On the only account on which I was able to see this directly, >there was an additional problem. I su'd to that account and found that I >was unable to read or write its files! I logged in as root on another vty While there are a number of possible reasons for this, I'd check the following things: 1. Is their home directory correctly specified in /etc/master.passwd ? 2. Are their permissions set properly so that they can read their own files, including .cshrc? This seems like it might be a problem, since if root copies a file, the copy should be owned by root, but with global read permissions. You might want to see if .cshrc is something like mode 000 (no one can read it), since root will successfully ignore this. >and tried it again, and root could read and write the files with no >problem. As root, I copied the .cshrc file for this account to a .tcshrc, >and it ran on login as expected. I removed the .tcshrc and .cshrc still >didn't work. -- bryan k ogawa http://www.primenet.com/~bkogawa/