Re: Can't Figure out What I Did to Our Environment FreeBSD6.2. fixed



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!

It opens a file in one's home directory called .magic.
I had created a file called .magic in all our home directories
for a totally unrelated purpose, never dreaming that somebody
else was looking for that name. It doesn't even need to exist
because file only uses it if it is there. Since our .magic has
nothing that the file utility recognizes, it breaks.

I named our .magic file to something else and everything
began to work perfectly. The reason why some accounts worked
before and others didn't is that not every single account had
this rogue .magic file I had made for another purpose.

Thanks for your help and my apologies for wasting your
time.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: word unexpectedly quits on Network user
    ... Word X is not compatible with environments where the Home directory is not ... >> Macintosh Business Unit ... If i open a new blank document, it opens fine. ... Then I have to choose 'disable macro" to open the files ...
    (microsoft.public.mac.office.word)
  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: word unexpectedly quits on Network user
    ... I had my Home Directory on another partition for years, ... created a symlink to a subfolder called "Applications" in my Home Directory. ... If i open a new blank document, it opens fine. ... then the word will quit unexpectedly. ...
    (microsoft.public.mac.office.word)
  • Re: Call for vote: Nautilus use Browser view for fedora 11
    ... window though when doing this in f10 it opens a terminal in ~/Desktop by ... How can you change the default directory for the terminal window that is ... (i.e. the home directory or ~/Documents) ... Sent from the Fedora List mailing list archive at Nabble.com. ...
    (Fedora)
  • Re: Program runs for "root", not for regular user
    ... therein lies all your problems. ... > aware that this opens up my home directory to other users). ... > root as the owner. ... That's because you didn't own your own home directory, ...
    (comp.os.linux.misc)