Finder shows hidden files after image

Not applicable

Hi,

I have imaged a Mac and it now shows the etc and var folders, among others in the Finder. These should of course be hidden. How can I hide them, and any idea why Casper would have done this?

Best wishes

Michael

5 REPLIES 5

ernstcs
Contributor III

I won't always defend Casper, but in this instance I can't imagine that Casper is actually the cause of this issue. And have you imaged more than just one Mac to see if you can get it to reoccur and be reproduced?

Did you install any other packages when you imaged? Would any of those have potentially changed some settings?

Craig E

milesleacy
Valued Contributor

I agree with Craig. I suggest checking your workflow.
I had an instance where this occurred, but only when another member of my
staff performed the imaging. I never did find the cause because when using
the process I had established, it did not occur.

If you can share your imaging process, and the packages and scripts in your
configuration, perhaps we can help find what is causing this.

jarednichols
Honored Contributor

Hi-

I don't think it would be Casper either, but I use something called SetHidden to re-hide these folders. It came with (I believe) the 10.4 dev tools - though works on 10.5 too. It'll need installation as it's a command-line binary, but once it's installed, you can call it with a script as part of maintenance. It's simple and does the trick nicely.

I attached a compressed a folder with the following:

SetHidden - file - Iceberg project file resources - folder - contains postflight script which executes the SetHidden command contents - folder - contains the SetHidden binary and hidden_MacOS9 file as distributed from Dev Tools build - folder - contains built, installable, Set Hidden.pkg, as compiled from Iceberg.

Cheers

jared

ernstcs
Contributor III

Have you run diagnostics on those drives? Was there a difference in the types of hardware between the 2 that had the issue and the 1 that didn't?

Are you imaging with Tiger or Leopard?

Craig E

Not applicable

Its not Casper. See this Apple KB article: Mac OS X 10.4: Invisible files
become visible after NetInstall or restoring from a disk image
(http://support.apple.com/kb/TS1979)

Sean