Benches macOS

9

"Private" folder

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

In trouble shooting some problems I was having with my imac that we previously thought were solved, we discovered a folder that we do not know how it came to be on my HD. It is called "Private" and has 4 subfolders in it; "etc", "tftboot", "tmp", and "var". tftboot is empty, but the other three all have a significant amount of folders and docs in them. The computer will not let me trash Private and also will not let me open up some of the docs and even some of the subfolders. I looked back in the time machine backups and "Private" first appeared on Feb 17, 2010 which was about the time that I first started having problems with my imac. I have since had a new HD installed, but I am now wondering if the Private folder may be the source of my problems. With this thought in mind, last night I did a restore and had time machine restore the computer to just before "Private" first appeared. Then software update asked to do a bunch of updates which I agreed to and much to my surprise, when I did a restart, there was "Private". Does anyone know if this is legitimate software or some kind of hack?

9 replies

Sign in or join Beachball Help to reply.

  1. 0

    Antonio Rocco

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi

    It's supposed to be there. Getting 'rid' of it and anything else inside it will seriously render your computer useless. Extremely simplified but think of it a little like a Swan floating serenely on the top of the water. This is essentially what the Library and System folders (which are visible to you) are doing. Beneath the water the Swan's legs are flapping away like crazy. This is is what 'private' and the folders within (which are invisible to you for good reason) are doing.

    Your problems however may well have something to do with possibly the contents or more likely the 'health' of the OS sub-system of which private is a part of. Usually a re-install should sort out any problems associated with it although you should try to repair permissions first.

    HTH?

    Tony

  2. 0

    Ptit-Loup

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The strange thing is that OS X makes this folder visible although its content is of system concern only. This is not classical Apple philosophy, is it ? Shouldn't this folder stay beneath the water ?

    Just for fun, I trashed it... and I had to restore my Mac.

    This was the second time within a few days. The first one ? Something very unusual for Mac OS happened just before this folder appeared : my computer did not boot any more. The little grey wheel did not stop running and running... Reboot on the MacOS DVD and restore (thank you, Time Machine). Then , the "private" folder was there.

    I guess there is something wrong on my Powerbook... I have already trouble with the built-in camera not properly recognized by iChat, now this folder...

    Sorry, Mac OS users are not all Unix specialists. By far...

  3. 0

    Barney-15E

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Ptit-Loup wrote:

    The strange thing is that OS X makes this folder visible although its content is of system concern only. This is not classical Apple philosophy, is it ? Shouldn't this folder stay beneath the water ?

    It usually is. Something caused it to become visible.

  4. 0

    BobHarris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Could "apple-alt-R-P" have made it ? This is the only thing unusual I did before the boot crash...

    Command-Option-P-R is unlikely to have changed the permissions and flags on the directory.

    More likely the crash affected some of the on-disk file system metadata in an unfriendly way.

    You should use Applications -> Utilities -> Disk Utility -> Repair Permissions. Hopefully this will fix the files missing hidden flag.

    It would also be a good idea to boot from the installation DVD, launch Disk Utility from the installation DVD menu, and run Repair Disk, as random changes of file system metadata is not a good sign.

    If the Repair permissions does not work, you can visit the Mac OS X Technologies -> Unix forum and ask for help using terminal commands such as chflags to reestablish the correct hidden flag.

    NOTE: If ALL of your typically hidden files are showing up, then you also want to consider if the Finder show hidden files plist preference has been set. There are utilities such as Onyx that can turn this Finder preference on and off, but that is Finder wide, and does not just affect one directory.

  5. 0

    Pondini

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    On occasion, that folder does get set to be visible after a Time Machine restore.

    If Bob's suggestion doesn't work, try this:

    Open the
    Terminal app (in your Applications/Utilities folder). Be *very careful* with this app. It's a direct link into UNIX, the underpinnings of OSX, but without the protections of OSX.

    In Terminal, the prompt looks like this:
    user-xxxxxx:~ <your name>$

    (where <your name> is your short user name). It's followed by a non-blinking block cursor (unless it's been changed via Terminal > Preferences).

    Copy and past the following command
    exactly after the prompt:

    sudo chflags hidden /private

    and press
    Return. It should then ask for your Admin password (which won't be displayed).

  6. 0

    JCpro

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Awesome! Thanks, Pondini. You helped me remove that "Private" folder, as well. Not sure why it was there in the first place. I recently installed "Little Snitch" on my MacBook Pro, then I noticed it. However, I am unsure if Little Snitch was related to this issue. Thanks for your help, though!

    JCpro

  7. 0

    Ptit-Loup

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    That sounds even more strange !

    Could "apple-alt-R-P" have made it ? This is the only thing unusual I did before the boot crash...

  8. 0

    Ptit-Loup

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I should not do things like that !!!

    But it is done, 'private' folder disappeared.

    And as you may guess, as I am here again and able to witness it, my Powerbook re-booted.

    Thank you !

  9. 0

    Pondini

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Great! Glad it's fixed, and thanks for the feedback.