Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zorahk

macrumors 6502
Original poster
Jul 18, 2008
468
0
North Korea
For some reason this is now visible in my hard drive's root.

How do I hide it again? I don't wanna go near that thing!
 
Is this the only hidden file that is showing up (e.g. you're not seeing .DS_Store or anything else around in the Finder)?

To hide the private folder, you should be able to issue the "sudo chflags hidden /private" command, followed by your password (as you are executing the command as a "root" user by using sudo, known as "super-user do").
 
… you should be able to issue the "sudo chflags hidden /private" command, followed by your password (as you are executing the command as a "root" user by using sudo, known as "super-user do").

also if you are unfamiliar use Terminal in the Utilities folder to excecute this command. note: Terminal will not display typing feedback when you enter your password.
 
Is this the only hidden file that is showing up (e.g. you're not seeing .DS_Store or anything else around in the Finder)?

To hide the private folder, you should be able to issue the "sudo chflags hidden /private" command, followed by your password (as you are executing the command as a "root" user by using sudo, known as "super-user do").

wow thanks dude, even though this message mite be a year late, it was a big help!
 
Awesome. Every other post I could find on this wanted me to install XCode! Thanks a million :D
 
Thanks!

It showed up after a Time Machine restore, so I suppose somehow down the line, the settings changed. The terminal command did sure work though.
 
Thanks!

It showed up after a Time Machine restore, so I suppose somehow down the line, the settings changed. The terminal command did sure work though.

sorry for the ignorance. i've tried to enter the command using terminal.

sudo chflags hidden /private (password)

it didn't work? and i'm also getting an error message

sudo: /etc/sudoers is mode 0666, should be 0440
Segmentation fault
________________

UPDATE: after doing some more googling. and i found the solution. just needed the disk utility to repair disk permissions. and i've been able to hide this "private" folder.
 
But what about repairing permissions?

I know how to make folders invisible, but I am curious as to why my /private folder suddenly became visible... and why repairing permissions does not make it go invisible again, which I would have thought it would have done...
 
I have this same issue

I know how to make folders invisible, but I am curious as to why my /private folder suddenly became visible... and why repairing permissions does not make it go invisible again, which I would have thought it would have done...

Let me know if you find a fix to make these invisible again. I mistakenly deleted two folders that showed up on root directory on one of my drives,

/private and /dev

Boy, the iMac did not like that, and when I tried to install Lion it hung up and would not install…. not sure what to do with this disk now. It has all my data that does not fit on the SSDs that are the StartUp disks, although I also keep the internal HD capable to be a StartUp disk.

Best,
Seth
 
I have this same issue

I know how to make folders invisible, but I am curious as to why my /private folder suddenly became visible... and why repairing permissions does not make it go invisible again, which I would have thought it would have done...

Let me know if you find a fix to make these invisible again. I mistakenly deleted two folders that showed up on root directory on one of my drives,

/private and /dev

Boy, the iMac did not like that, and when I tried to install Lion it hung up and would not install…. not sure what to do with this disk now. It has all my data that does not fit on the SSDs that are the StartUp disks, although I also keep the internal HD capable to be a StartUp disk.

Best,
Seth
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.