Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I can't hide hidden files.

After I did a reboot from my mac mini, I can't seem to get rid of all the hidden files everywhere.


I've tried terminal using:

defaults write com.apple.finder AppleShowAllFiles FALSE

killall Finder


and various other commands.

I've tried software: Tinker Tools, Show Hidden Files scripts, etc...


Nothing seems to work.


Any help?


Thanks

Mac mini Server (Mid 2011), Mac OS X (10.7.4)

Posted on May 21, 2012 3:26 PM

Reply
35 replies

May 22, 2012 12:47 PM in response to dwfpdx

That's what I thought. You did not turn off the hidden files diplay in the finder because is says AppleShowAllFiles is TRUE. So do it again and this time verify it. In terminal:


defaults write com.apple.finder AppleShowAllFiles 0

killall -9 Finder


To verify check the value again (although hopefully the invisibles are gone after the killall).


defaults read com.apple.finder AppleShowAllFiles

May 22, 2012 1:27 PM in response to X423424X

When I input this:


defaults write com.apple.finder AppleShowAllFiles 0

This comes up:


2012-05-22 13:25:08.230 defaults[29636:707] Could not write domain /Users/admin/Library/Preferences/com.apple.finder.plist; exiting



The hidden files are still there. Apple is telling me I need to erase the drive. This seems drastic.

May 22, 2012 2:14 PM in response to dwfpdx

In the Finder do a Get Info on...


/Users/YourUserName/Library/Preferences/com.apple.finder.plist


Is it Locked? What Rights does it show for you?



10.7.x cant write files...


Reboot up to recovery partition,


Restart holding down Option or alt key+r key


Choose mac utilities, just utilities, choose Terminal.


inside Terminal type this...


resetpassword (no spaces), hit enter, choose, mac hd, select affected account...


Reset home folder permissions and acls.

May 22, 2012 2:21 PM in response to dwfpdx

The hidden files are still there. Apple is telling me I need to erase the drive. This seems drastic.


Apple always takes the easy way out.


Not sure why you cannot write to it. Probably explains why you have been having so much trouble turning this thing off.


But screw it. If it wants to play those "games" do this from terminal:


sudo rm -f ~/Library/Preferences/com.apple.finder.plist

killall -9 Finder


Because of the sudo you will be prompted for you admin password. It won't be echoed when you type it. Hit return after entering it.


The rm is deleting the entire plist. The finder relaunch should create a clean one again. Hopefully if you again do,


defaults read com.apple.finder AppleShowAllFiles


you should get a "does not exist" error message for AppleShowAllFiles.

May 22, 2012 5:01 PM in response to dwfpdx

Don't worry about all the ritualistic stuff sudo may spew out. I had said the admin password would not be echoed. Just type it even if you don't see anything showing on the screen and hit return. That rm dshould have deleted the plist. If it didn't something else is going on here. So this time post all the terminal lines from the following set of commands:


ls -ld ~/Library/Preferences

ls -la ~/Library/Preferences/com.apple.finder.plist

defaults read com.apple.finder AppleShowAllFiles

sudo rm -f ~/Library/Preferences/com.apple.finder.plist

ls -la ~/Library/Preferences/com.apple.finder.plist

defaults readcom.apple.finder AppleShowAllFiles

killall -9 Finder

defaults readcom.apple.finder AppleShowAllFiles

ls -la ~/Library/Preferences/com.apple.finder.plist


Post the output to all these commands.

May 22, 2012 5:22 PM in response to X423424X

drwxr-xr-x@ 371 admin staff 12614 May 22 17:10 /Users/admin/Library/Preferences

-rw------- 1 admin staff 22574 May 22 17:09 /Users/admin/Library/Preferences/com.apple.finder.plist

TRUE

password...

ls: /Users/admin/Library/Preferences/com.apple.finder.plist: No such file or directory

2012-05-22 17:15:00.651 defaults[36419:707]

The domain/default pair of (com.apple.finder, AppleShowAllFiles) does not exist


2012-05-22 17:16:23.743 defaults[36482:707]

The domain/default pair of (/Users/admin/Library/Preferences/com.apple.finder.plist, AppleShowAllFiles) does not exist


-rw------- 1 admin staff 1466 May 22 17:16 /Users/admin/Library/Preferences/com.apple.finder.plist


I think that might have worked-now i can't see my hard drive icons on the desktop?


May 22, 2012 6:11 PM in response to dwfpdx

dwfpdx wrote:

I think that might have worked-now i can't see my hard drive icons on the desktop?


Ok, not sure why it didn't work earlier since nothing was done differently this last time other then keeping a close eye on the relevant file and folder.


This coudn't be system wide since it is a plist local to an account. But speaking of accounts, did you really name your account "admin"? 😮 That's what it looks like and it's somewhat confusing looking at it.

May 22, 2012 6:31 PM in response to X423424X

Yes! It finally worked. I never input all of those lines before-in that order of your last post. Something in there worked. Thank you very much! Yes I named it admin-is that a bad idea? It was my partners idea. Which reminds me: I never named my drive when I first got it, now there's blank beside it under the devices menu-is there a way to name it? I see that the drive itself is called Server HD and the other partition is called Macintosh HD2, but the mac mini itself is blank. Thanks again!

I can't hide hidden files.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.