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 > Mac OS X > Help! Home directory disappeared

Help! Home directory disappeared
Thread Tools
Junior Member
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 14, 2003, 02:02 PM
 
My home directory has kind of disappeared.

If I go to /Users/ in the Finder, /myname/ isn't listed there. Same thing from open & save dialogs. Furthermore, I have the "Path" tool installed in my Finder toolbar; if I'm looking at a directory within /myname/ from the Finder, and click on the Path tool, it will show every directory in the path normally, except for /myname/, which is greyed out.

However, if I ls /Users/ in the Terminal, /myname/ is there. Furthermore, if I click on my home directory in the Finder sidebar, it takes me there. I can view all directories within /myname/ normally, as long as I can get there from the sidebar.

This happened after I started messing around with permissions for some files in my home directory. However, I didn't change the permissions on /Users/myname/ itself. Furthermore, I've checked the permissions for /myname/ and everything listed in the first level of /myname/ and they look OK...they match the permissions set for other users' home directories, and I can see the home directories of all other users in the normal manner.

My first suspicion is that the HFS+ invisible bit somehow got set. I tried using GetFileInfo from the developer tools to check this, but, as I learned, the Panther version of GetFileInfo is broken and won't let you check the attributes of a folder, only files.

Does anyone have any suggestions about what's going on here?

[Edited to clarify grammatical ambiguity.]
     
Tom C  (op)
Junior Member
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 14, 2003, 02:44 PM
 
Originally posted by Tom C:

My first suspicion is that the HFS+ invisible bit somehow got set. I tried using GetFileInfo from the developer tools to check this, but, as I learned, the Panther version of GetFileInfo is broken and won't let you check the attributes of a folder, only files.
I was right.

Even though GetFileInfo is broken in Panther, SetFile works just fine. SetFile -a v /Users/myname/ did the trick.
     
   
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2