From owner-freebsd-questions@FreeBSD.ORG Wed May 23 20:31:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6DA616A400 for ; Wed, 23 May 2007 20:31:27 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by mx1.freebsd.org (Postfix) with ESMTP id 8DEC213C447 for ; Wed, 23 May 2007 20:31:27 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.13.8/8.13.8) with ESMTP id l4NKVRRk000126 for ; Wed, 23 May 2007 15:31:27 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200705232031.l4NKVRRk000126@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <124.1179952287.1@dc.cis.okstate.edu> Date: Wed, 23 May 2007 15:31:27 -0500 From: Martin McCormick Subject: Can't Figure out What I Did to Our Environment FreeBSD6.2. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 20:31:27 -0000 I discovered that the "file" utility works for some accounts on a new FreeBSD system but not others. When it doesn't work, the response is: file: could not find any magic files! If I am su'd to root, me, or any of several other accounts on the system, I get that same error. Still other user ID's in the same class can use file just fine. The /etc/profile file is used to develop the users' paths so most of them are the same plus added local paths if someone has $HOME/bin or $HOME/etc. Any other suggestions at what I should look at? This is one of those dumb things that is driving me crazy today.:-) All I know is I probably caused this but I am at a loss as to how. The man page for file says that MAGIC can be set to the location of one of the .mgc files. None of the accounts that do correctly use file have this variable set. At least you don't see it in the output of env. Thanks for any suggestions. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group