Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2007 15:31:27 -0500
From:      Martin McCormick <martin@dc.cis.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   Can't Figure out What I Did to Our Environment FreeBSD6.2.
Message-ID:  <200705232031.l4NKVRRk000126@dc.cis.okstate.edu>

next in thread | raw e-mail | index | archive | help
	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705232031.l4NKVRRk000126>