Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Cygwin in Windows 7 and was browsing through the c:/cygwin/ directory in the Cygwin terminal. There exists a directory bin/ at the path c:/cygwin/usr/bin, but I cannot find this folder in Windows Explorer, and I cannot ls this path in CygWin unless I am already in the usr/ folder. It doesn't seem to be hidden, and my Windows user account is the owner of both files. Is there any explanation for why/how this folder can only be reached in a certain way?

File permissions:

molga@Win7Dell /usr
$ ls -l -d "c:/cygwin/usr"
drwxr-xr-x 1 molga Domain Users 0 May 17 10:53 c:/cygwin/usr

molga@Win7Dell /usr
$ ls -l -d bin
drwxr-xr-x+ 1 molga Domain Users 0 Jul 20 08:17 bin
share|improve this question
Are you sure it’s not hidden? Have you tried selecting the show hidden option in Folder Options? – Synetech Jul 20 '12 at 19:35
@Synetech I tried that, and it was still hidden... – FlyingMolga Jul 20 '12 at 19:47
Can you open it in Explorer by directly typing it into the address-bar? What about the command-prompt? Can you cd to it in cmd? – Synetech Jul 20 '12 at 19:53
It's not accessible through the Explorer address bar or command prompt, either. – FlyingMolga Jul 20 '12 at 19:57
up vote 4 down vote accepted

Cygwin's mount command will show you that /usr/bin is mapped to C:\Cygwin\bin (which means /usr/bin is the same as /bin). Windows Explorer and Command Prompt of course don't know about Cygwin mounts.

share|improve this answer
Wow, now I feel silly. Thanks! – FlyingMolga Jul 20 '12 at 20:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .