Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-06-2012, 12:32 PM   #1
ricede
All Star
 
Join Date: Jul 2008
Location: India
Posts: 603
Question Strange setup in Mac Hd

I noticed today a strange setup in Mac Hd ( in devices ) on my MBPro.
My finder windows open by default to my Home folder & therefore i seldom go to Mac Hd.

There are the normal folders : Applications/Library/System & Users but there is also a folder called Private. I'm sure that previously this was always a Hidden Folder. In it are folders called 'etc' 'tftpboot' 'tmp' & 'var'.

When i enable Hidden files i notice that there are also folders in Mac Hd called 'etc' 'tmp' & 'var' , but that they are alias's. This does not seen right.

My question is : Does this matter ? And if so - can anyone please tell me what should i do about it. Thanks.
ricede is offline   Reply With Quote
Old 04-06-2012, 01:27 PM   #2
benwiggy
League Commissioner
 
Join Date: Aug 2006
Location: London
Posts: 5,819
These are normal Unix folders. Both etc and var have aliases (symbolic links) from root to /private (or is it the other way round ) This is because Apple does things slightly differently, but wants compatibility with other unixen.

Normally, private should be hidden like all the other unixy folders. So it's not clear why this isn't hiding.

Have you rebooted?

I'm not sure offhand how Apple hides the hidden folders in the Finder -- it could be with the chflags hidden attribute. (The reverse of showing the user Library in Lion!)
benwiggy is offline   Reply With Quote
Old 04-06-2012, 04:56 PM   #3
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,838
Quote:
Originally Posted by ricede
When i enable Hidden files

Quote:
Originally Posted by benwiggy
Normally, private should be hidden like all the other unixy folders. So it's not clear why this isn't hiding.

It sounds to me like ricede is manually enabling hidden files, for example using TinkerTool or something similar, and that is why he or she is seeing the files that are normally hidden.

Trevor
trevor is offline   Reply With Quote
Old 04-06-2012, 09:51 PM   #4
ricede
All Star
 
Join Date: Jul 2008
Location: India
Posts: 603
Quote:
Originally Posted by trevor
It sounds to me like ricede is manually enabling hidden files, for example using TinkerTool or something similar, and that is why he or she is seeing the files that are normally hidden.Trevor

Sorry - probably didn't write clearly enough. The 'private ' folder is visible even when all others are hidden.

Quote:
Originally Posted by benwiggy
Have you rebooted?

I'm not sure offhand how Apple hides the hidden folders in the Finder -- it could be with the chflags hidden attribute. (The reverse of showing the user Library in Lion!)

Rebooting made no difference. I tried 'chflags hidden' and got this message in terminal

Last login: Sat Apr 7 08:11:06 on console
Rics-MacBook-Pro:~ Ric$ chflags hidden /private
chflags: /private: Permission denied
Rics-MacBook-Pro:~ Ric$
ricede is offline   Reply With Quote
Old 04-07-2012, 02:07 AM   #5
benwiggy
League Commissioner
 
Join Date: Aug 2006
Location: London
Posts: 5,819
You'll need to sudo chflags hidden /private
benwiggy is offline   Reply With Quote
Old 04-07-2012, 02:11 AM   #6
ricede
All Star
 
Join Date: Jul 2008
Location: India
Posts: 603
Thanks benwiggy - thats sorted it
ricede is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting 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

Forum Jump



All times are GMT -5. The time now is 05:15 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.