I’ve lost my ability to see my c: drive from cygwin. when I do
1
1
<span class='line'>$ cd c:</span>
or
1
1
<span class='line'>$ cd /cygdrive/c</span>
all goes ok. But if I do
1
1
<span class='line'>$ ls</span>
then it complains
12
1 2
<span class='line'>ecerulm@rlm-ecb4fe6cda1 /cygdrive/c $ ls
</span><span class='line'>ls: reading directory .: No such file or directory</span>
I found something at this forum and also here
So it seems that I screwed up permission (maybe it related to some automatic windows update). So after checking my username and group are the right on with
1
1
<span class='line'>$ id</span>
I noticed that I can perform
1
1
<span class='line'>$ cd /cygdrive/c/Documents\ And\ Settings</span>
and see the contents of that directory so I must be some problem with the permission at the root folder c:
So I right-click the c drive and click on Properties. In the security tab added permission to “Read & execute” to Everyone but I didn’t solve the problem so I guess I have to live with this little annoyance.