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.]