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 > Visible folders that should be invisible

Visible folders that should be invisible
Thread Tools
Corys
Dedicated MacNNer
Join Date: May 2000
Location: Oregon
Status: Offline
Reply With Quote
Jan 23, 2002, 05:36 PM
 
Hey All-
a friend of mine ran norton 4 on a partition that had OSX installed..In doing this, folders on the root level of the hard drive mainly ect,vol,usr,bin all became visible. I know they should be invisible..

would it hurt anything just to use a program like rbbroswer to set them invisible? or is there a better way of doing it?

BTW: the system works as it is, it just produces a lot of clutter on the HD, plus the opportunity to muck up a file in one of those folders

TIA
www.prepressforums.com
News & Information for the Prepress Industry
     
KellyHogan
Banned
Join Date: Oct 2001
Location: The Breakaway Democratic Banana Republic of Jakichanistan.
Status: Offline
Reply With Quote
Jan 23, 2002, 05:40 PM
 
You should be allowed to make any folder invisible from the Get Info box. Windows can do that, surely OSX should be able to. They should also become invisible over any network. Unix is about security so this should have been there.
     
Wevah
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
Jan 23, 2002, 05:56 PM
 
Check the .hidden file at the root level of the disk. This file contains the names (one per line) of all the directories and files at the root level that should be invisible in the Finder (other than those that start with a period.
[Wevah setPostCount:[Wevah postCount] + 1];
     
Nonsuch
Professional Poster
Join Date: Jan 2001
Location: Riverside IL, USA
Status: Offline
Reply With Quote
Jan 23, 2002, 05:58 PM
 
The thing is, once you've made it invisible, how do you make it visible again? This I think is why Apple hasn't implemented this in the Finder--if you can see invisible files in the Finder (which you would logically have to do in order to alter their (in)visibility via Get Info), well, what's the point of making them that way in the first place? Maybe the Finder could have a Show/Hide Invisibles toggle function, but it could scare the bejeezus out of newbies who suddenly confront all the clutter lurking in the heart of their computers. "What the hell is '.mach'? Should I delete it?"

Of course, Apple is likely to think that there's no reason to make invisibility a user-configurable function--the user directory structure effectively makes all of your files invisible to anyone who might want to go after them.
Find out just what any people will quietly submit to and you have found out the exact measure of injustice and wrong which will be imposed upon them.

-- Frederick Douglass, 1857
     
KellyHogan
Banned
Join Date: Oct 2001
Location: The Breakaway Democratic Banana Republic of Jakichanistan.
Status: Offline
Reply With Quote
Jan 23, 2002, 06:19 PM
 
Originally posted by Nonsuch:
<STRONG>The thing is, once you've made it invisible, how do you make it visible again? </STRONG>
In Windows you just go to an option that makes all files visible in order to find your personal invisible files along with invisible system files. Then after you retrieve your files you can make the system files invisible again. On OSX you would naturally type in your admin password in order to make files visible and invisible.
     
malvolio
Professional Poster
Join Date: Apr 2001
Location: Capital city of the Empire State.
Status: Offline
Reply With Quote
Jan 23, 2002, 06:54 PM
 
You switch OS X's visibility/invisibility on and off by using a "defaults write..." command in the Terminal, or by using the freeware utility TinkerTool.
/mal
"I sentence you to be hanged by the neck until you cheer up."
MacBook Pro 15" w/ Mac OS 10.8.2, iPhone 4S & iPad 4th-gen. w/ iOS 6.1.2
     
seb2
Grizzled Veteran
Join Date: Feb 2001
Location: Germany
Status: Offline
Reply With Quote
Jan 23, 2002, 09:22 PM
 
as wevah mentioned, for files at the root level, check your .hidden -- this only works for files at the root level, though.

if you have the dev tools installed, you can also set the visibility of files by typing this in the terminal:

to make them visible:
sudo /Developer/Tools/SetFile -a v &lt;pathToFile&gt;

to make them invisible:
sudo /Developer/Tools/SetFile -a V &lt;pathToFile&gt;
     
Scrod
Mac Elite
Join Date: Jan 2001
Location: Sad King Billy's Monument on Hyperion
Status: Offline
Reply With Quote
Jan 23, 2002, 09:31 PM
 
Originally posted by Corys:
<STRONG>Hey All-
a friend of mine ran norton 4 on a partition that had OSX installed..In doing this, folders on the root level of the hard drive mainly ect,vol,usr,bin all became visible. I know they should be invisible..

would it hurt anything just to use a program like rbbroswer to set them invisible? or is there a better way of doing it?

BTW: the system works as it is, it just produces a lot of clutter on the HD, plus the opportunity to muck up a file in one of those folders

TIA</STRONG>

Your friend definitely should not have run Norton Utilities on that Mac OS X partition. He probably messed up a lot of other stuff as well. If those files that you mentioned are visible, that means that Norton Utilities has either deleted or renamed the .hidden file on the root level of the disk (because old versions of Norton don't like files with dots in front of their names). Files like usr, etc, and var in OS X actually DON'T have their invisible Finder flag set on them. They're made invisible automatically because their names are listed in /.hidden. So I suggest that your friend rename his "hidden" file ".hidden" if he still has it. Unfortunately that means that a lot of other files will probably be lost or screwed up as well, as many unix utilities will refer to specific files that happen to be named with a dot in front of them.
Hopefully this will be a lesson to your friend not to use anything lower than Norton Utilities 6 on Mac OS X.
I abused my signature until she cried.
     
tinrib
Mac Elite
Join Date: Feb 2001
Location: Bristol, UK, living in Melbourne, Australia
Status: Offline
Reply With Quote
Jan 23, 2002, 09:38 PM
 
Originally posted by Wevah:
<STRONG>Check the .hidden file at the root level of the disk. This file contains the names (one per line) of all the directories and files at the root level that should be invisible in the Finder (other than those that start with a period.</STRONG>
i think this is where the problem lies. I can well imagine norton utilities f**king this up.
     
Xeo
Moderator Emeritus
Join Date: Mar 2001
Location: Austin, MN, USA
Status: Offline
Reply With Quote
Jan 23, 2002, 11:39 PM
 
Originally posted by Nonsuch:
<STRONG>"What the hell is '.mach'? Should I delete it?"</STRONG>
Yup, I have a friend who did that in OS 9 and then couldn't figure out why OS X wouldn't boot.

All because it was visible in the Finder.
     
carver
Fresh-Faced Recruit
Join Date: Apr 2000
Location: New York City
Status: Offline
Reply With Quote
Jan 24, 2002, 01:38 AM
 
Contents of the .hidden folder:

automount
bin
cores
Desktop DB
Desktop DF
Desktop Folder
dev
etc
lost+found
mach
mach_kernel
mach.sym
private
sbin
tmp
Trash
usr
var
VM Storage
Volumes

The permissions should be set to read only: chmod 444
Owner set to: sudo chown root .hidden
Group set to: sudo chgrp wheel .hidden

Maybe of help....
     
   
 
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 11:34 PM.
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.,