This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Weird filesystem permissions issue.


I am trying to compile gcc (and later ghdl) and it seems that certain files are
inaccessible to cygwin, while easily accessed from non-cygwin applications. I
installed another disk and formatted it FAT32 as a workaround right now, but
what might the problem be or where can I start researching this one?

cygcheck availble upon request, setup installed most upto date copy minutes ago.

Problem repeated on two separate machines and different accounts (administrator
and user).

Details follow, TIA

Jason Pyeron

bash-3.2$ cd /usr/src/
bash-3.2$ ls -al
total 0
drwxrwx---+  2 HP_Administrator Users 0 Aug  2 11:03 .
drwxrwx---+ 18 HP_Administrator Users 0 Aug  2 11:02 ..

Run setup.exe, select gcc sources

bash-3.2$ ls -al
ls: cannot access gcc-ada-3.4.4-3.README: No such file or directory
ls: cannot access gcc-core-3.4.4-3.README: No such file or directory
ls: cannot access gcc-g++-3.4.4-3.README: No such file or directory
ls: cannot access gcc-g77-3.4.4-3.README: No such file or directory
ls: cannot access gcc-gdc-3.4.4-3.README: No such file or directory
ls: cannot access gcc-gpc-3.4.4-3.README: No such file or directory
ls: cannot access gcc-java-3.4.4-3.README: No such file or directory
ls: cannot access gcc-objc-3.4.4-3.README: No such file or directory
total 29888
drwxrwxrwx+ 10 HP_Administrator Users        0 Aug  2 13:08 .
drwxrwx---+ 18 HP_Administrator Users        0 Aug  2 11:02 ..
-rwxrwxrwx   1 nli              Users   561081 Dec 17  2006 gcc-3.4.4-3.patch
-rwxrwxrwx   1 nli              Users    31596 Dec 17  2006 gcc-3.4.4-3.sh
???????????  ? ?                ?            ?            ?
gcc-ada-3.4.4-3.README
-rwxrwxrwx   1 nli              Users  3460438 Dec 17  2006
gcc-ada-3.4.4.tar.bz2
???????????  ? ?                ?            ?            ?
gcc-core-3.4.4-3.README
-rwxrwxrwx   1 nli              Users 13153342 Dec 17  2006
gcc-core-3.4.4.tar.bz2
???????????  ? ?                ?            ?            ?
gcc-g++-3.4.4-3.README
-rwxrwxrwx   1 nli              Users  2474402 Dec 17  2006
gcc-g++-3.4.4.tar.bz2
???????????  ? ?                ?            ?            ?
gcc-g77-3.4.4-3.README
-rwxrwxrwx   1 nli              Users   903110 Dec 17  2006
gcc-g77-3.4.4.tar.bz2
???????????  ? ?                ?            ?            ?
gcc-gdc-3.4.4-3.README
-rwxrwxrwx   1 nli              Users   851625 Dec 17  2006
gcc-gdc-3.4.4.tar.bz2
???????????  ? ?                ?            ?            ?
gcc-gpc-3.4.4-3.README
-rwxrwxrwx   1 nli              Users  2672937 Dec 17  2006
gcc-gpc-3.4.4.tar.bz2
???????????  ? ?                ?            ?            ?
gcc-java-3.4.4-3.README
-rwxrwxrwx   1 nli              Users  4697400 Dec 17  2006
gcc-java-3.4.4.tar.bz2
drwxrwxrwx+  2 nli              Users        0 Aug  2 13:07
gcc-mingw-ada-20050522-1
drwxrwxrwx+  2 nli              Users        0 Aug  2 13:07
gcc-mingw-core-20050522-1
drwxrwxrwx+  2 nli              Users        0 Aug  2 13:07
gcc-mingw-g++-20050522-1
drwxrwxrwx+  2 nli              Users        0 Aug  2 13:07
gcc-mingw-g77-20050522-1
drwxrwxrwx+  2 nli              Users        0 Aug  2 13:07
gcc-mingw-gdc-20050522-1
drwxrwxrwx+  2 nli              Users        0 Aug  2 13:07
gcc-mingw-gpc-20040810-1
drwxrwxrwx+  2 nli              Users        0 Aug  2 13:07
gcc-mingw-java-20050522-1
drwxrwxrwx+  2 nli              Users        0 Aug  2 13:08
gcc-mingw-objc-20050522-1
???????????  ? ?                ?            ?            ?
gcc-objc-3.4.4-3.README
-rwxrwxrwx   1 nli              Users   212330 Dec 17  2006
gcc-objc-3.4.4.tar.bz2
-rwxrwxrwx   1 nli              Users  1556480 Aug  2 13:08
gcc-testsuite-3.4.4.tar.bz2
bash-3.2$ cacls gcc-core-3.4.4-3.README
C:\cygwin\usr\src\gcc-core-3.4.4-3.README Everyone:F

bash-3.2$ cat gcc-core-3.4.4-3.README
cat: gcc-core-3.4.4-3.README: No such file or directory
bash-3.2$ cacls .
C:\cygwin\usr\src Everyone:(OI)(CI)F

bash-3.2$ cmd /c 'type gcc-core-3.4.4-3.README' | wc -l
569
bash-3.2$






--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]