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
On Wed, May 23, 2007 at 03:31:27PM -0500, Martin McCormick wrote:
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
Roland Smith writes:
Maybe the ownership and/or permissions of /usr/share/misc are wrong?
I checked against another system that isn't having any
trouble and found the permissions to be exactly the same. I
then ran strace -e trace=file to see what all it opens when
being run.
Bingo!