Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Suddenly visible 'private' folder in root directory - What do I do with it?

Suddenly visible 'private' folder in root directory - What do I do with it?
Thread Tools
Lateralus
Moderator Emeritus
Join Date: Sep 2001
Location: Arizona
Status: Offline
Reply With Quote
May 16, 2010, 10:17 AM
 
Yeah... Seems to have come out of nowhere. It weighs in at 4.67GB, contains folders named etc/tftpboot/temp/var and the system doesn't want to delete it without a password and a warning or two.

I like chicken
I like liver
Meow Mix, Meow Mix
Please de-liv-er
     
seanc
Moderator Emeritus
Join Date: Apr 2005
Location: Cambridge, UK
Status: Offline
Reply With Quote
May 16, 2010, 11:15 AM
 
Yeah you don't want to delete that, it's important.
It's supposed to be hidden... have you been playing with Onyx?
     
Lateralus  (op)
Moderator Emeritus
Join Date: Sep 2001
Location: Arizona
Status: Offline
Reply With Quote
May 16, 2010, 11:53 AM
 
Nope. Haven't even had it installed with 10.6 yet.

I did a system recovery from Time Machina last week, formatting my drive as I was doing it. That's the only major event that's occurred since I actually took notice of the folder's visibility. And it's visible in the Time Machine backup(s) as well. I can't say how far back it is visible because I wiped my Time Machine drive clean after recovering from it and only have the backups done since.
I like chicken
I like liver
Meow Mix, Meow Mix
Please de-liv-er
     
Art Vandelay
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
May 16, 2010, 01:09 PM
 
sudo chflags hidden /private
Vandelay Industries
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
May 16, 2010, 04:13 PM
 
If you do a:

cat /.hidden

and private is not in this listing, add it there.
     
Art Vandelay
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
May 16, 2010, 04:19 PM
 
That's no longer in Snow Leopard. You can add it and the Finder will still use it but it's no longer recommended as a way to hide files.
Vandelay Industries
     
is not
Mac Enthusiast
Join Date: Dec 2007
Status: Offline
Reply With Quote
May 16, 2010, 04:20 PM
 
Originally Posted by Lateralus View Post
Yeah... Seems to have come out of nowhere. It weighs in at 4.67GB.

My private folder sizes to just 64MB.
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
May 16, 2010, 04:22 PM
 
Originally Posted by Art Vandelay View Post
That's no longer in Snow Leopard. You can add it and the Finder will still use it but it's no longer recommended as a way to hide files.

Ahhh... didn't know that. I still have a .hidden folder, probably left over from Leopard.
     
reader50
Administrator
Join Date: Jun 2000
Location: California
Status: Offline
Reply With Quote
May 16, 2010, 04:53 PM
 
Originally Posted by Lateralus View Post
It weighs in at 4.67GB ...
/private/var/ contains a few folders that can have large contents. And the content sizes will vary by system. Examples:
  • /private/var/vm/ - virtual memory blocks. Can get large unless you have obscene amounts of RAM.
  • /private/var/db/ - assorted databases. The /dyld/ subfolder in particular can grow if you've launched a lot of applications - it contains dynamic link caches.
  • /private/var/folders/ - cache space.
  • /private/var/log/ - can grow a lot if there's an obscure error somewhere. Like a permissions error affecting a recurring task.
  • /private/var/tmp/ - temp file space.
Deleting /private/ would almost certainly provoke a system crash. And the system wouldn't boot afterwards. Well, it might boot to command line, but I don't feel like testing this.
     
Lateralus  (op)
Moderator Emeritus
Join Date: Sep 2001
Location: Arizona
Status: Offline
Reply With Quote
May 17, 2010, 06:04 AM
 
Originally Posted by Art Vandelay View Post
sudo chflags hidden /private
Wonderful, thank you.
I like chicken
I like liver
Meow Mix, Meow Mix
Please de-liv-er
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 05:57 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,