Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Wed, 5 Jul 2000 19:59:58 -0400 (EDT) Message-Id: <200007052359.TAA07472@jessie.research.bell-labs.com> From: Peter Schroeder To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: cannot see contents of mounted drive Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII I removed the NTRESKIT elements form the path and made sure I didn't pick up something that I don't want. I continued tracking this down with an "strace" on the ls command (the right one). It turns out that the strace reveals that the opendir() call bombs on access denied. I can see the volume just fine under NT. However, there is one curiosity that I found. When I am in cmdproxy and do a whoami and am showing as "GOLD\ps" which is the domain that I am in. Under bash I show as "ps". Might this be the cause? The netapp server is configured to let only the official user get to that directory (for security reasons). I am trying to figure out the unix server end on this question with a local guru. In the meantime, how do I get cygwin to understand that it should talk to this drive as "GOLD\ps" not as "ps"? I tried fuzzing around with /etc/passwd and /etc/group, but gave up on that and removed them again (they were not there to begin with). Anyway, my best guess right now is that the reason this doesn't work is the distinction between "ps" and "GOLD\ps" when running the cygwin ls command on that filesytem. How do I take explicit control of this under cygwin? I tried some obvious things such as setting USER to "GOLD\ps" rather than "ps" (though USERDOMAIN is correctly set at "GOLD") with no success. Unfortunately the strace output doesn't tell me as what "ls" is running when it is accessing that mounted volume (ls works fine on things such as c:). BTW, the problem is not just "ls". I can't "make" either. Though I can run "g++" on a file when named explicitly. Similarly "less" works on explicitly given files which are known to exist under z:. What else can I look for? Peter This is from the cmdproxy, not from bash. Z:\>strace ls strace ls ********************************************** Program name: c:\apps\cygwin\bin\ls.exe App version: 21.0, api: 0.14 DLL version: 1001.2, api: 0.21 DLL build: 2000-06-06 22:20 OS version: Windows NT-4.0 Date/Time: 2000-07-05 19:52:11 ********************************************** 1443 3347 [main] ls 1178 reg_key::build_reg: failed to create key Program Options in the registry 571 3918 [main] ls 1178 reg_key::build_reg: failed to create key Program Options in the registry 290 4208 [main] ls 1178 environ_init: !EXITCODE=00000000 210 4418 [main] ls 1178 environ_init: !Z:=Z:\ 203 4621 [main] ls 1178 environ_init: COMPUTERNAME=LILAC 198 4819 [main] ls 1178 environ_init: COMSPEC=C:\WINNT\system32\cmd.exe 206 5025 [main] ls 1178 environ_init: EM_PARENT_PROCESS_ID=113 199 5224 [main] ls 1178 environ_init: EMACS=t 201 5425 [main] ls 1178 environ_init: EMACS_DIR=C:/apps/emacs-20.7 239 5664 [main] ls 1178 environ_init: EMACSDATA=C:/apps/emacs-20.7/etc 206 5870 [main] ls 1178 environ_init: EMACSDOC=C:/apps/emacs-20.7/etc 202 6072 [main] ls 1178 environ_init: EMACSLOADPATH=C:/apps/emacs-20.7/site-lisp;C:/apps/emacs-20.7/lisp;C:/apps/emacs-20.7/leim 209 6281 [main] ls 1178 environ_init: EMACSLOCKDIR=C:/apps/emacs-20.7/lock 200 6481 [main] ls 1178 environ_init: EMACSPATH=C:/apps/emacs-20.7/bin 207 6688 [main] ls 1178 getwinenv: can't set native for HOME= since no environ yet 220 6908 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (z:, no-keep-rel, no-add-slash) 182 7090 [main] ls 1178 normalize_win32_path: z: = normalize_win32_path (z:) 126 7216 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/z = conv_to_posix_path (z:) 303 7519 [main] ls 1178 win_env::add_cache: posix /cygdrive/z 141 7660 [main] ls 1178 win_env::add_cache: native HOME=z: 108 7768 [main] ls 1178 posify: env var converted to HOME=/cygdrive/z 202 7970 [main] ls 1178 environ_init: HOME=/cygdrive/z 202 8172 [main] ls 1178 environ_init: HOMEDRIVE=Z: 198 8370 [main] ls 1178 environ_init: HOMEPATH=\ 200 8570 [main] ls 1178 environ_init: HOMESHARE=\\brock\ps 199 8769 [main] ls 1178 environ_init: INCLUDE=C:\Program Files\TGS\OIV2.6\include 204 8973 [main] ls 1178 environ_init: LIB=C:\Program Files\TGS\OIV2.6\lib 200 9173 [main] ls 1178 environ_init: LOGONSERVER=\\STIBITZ 202 9375 [main] ls 1178 environ_init: NTRESKIT=C:\apps\NTRESKIT 197 9572 [main] ls 1178 environ_init: NUMBER_OF_PROCESSORS=1 289 9861 [main] ls 1178 environ_init: OIVHOME=c:\program files\tgs\oiv2.6 199 10060 [main] ls 1178 environ_init: OS=Windows_NT 201 10261 [main] ls 1178 environ_init: OS2LIBPATH=C:\WINNT\system32\os2\dll; 203 10464 [main] ls 1178 getwinenv: can't set native for PATH= since no environ yet 231 10695 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT\MS\SMS\CORE\BIN, keep-rel, no-add-slash) 115 10810 [main] ls 1178 normalize_win32_path: C:\WINNT\MS\SMS\CORE\BIN = normalize_win32_path (C:\WINNT\MS\SMS\CORE\BIN) 216095 226905 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/MS/SMS/CORE/BIN = conv_to_posix_path (C:\WINNT\MS\SMS\CORE\BIN) 439 227344 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT\MS\SMS\CORE\BIN, keep-rel, no-add-slash) 126 227470 [main] ls 1178 normalize_win32_path: C:\WINNT\MS\SMS\CORE\BIN = normalize_win32_path (C:\WINNT\MS\SMS\CORE\BIN) 120 227590 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/MS/SMS/CORE/BIN = conv_to_posix_path (C:\WINNT\MS\SMS\CORE\BIN) 126 227716 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT\system32, keep-rel, no-add-slash) 111 227827 [main] ls 1178 normalize_win32_path: C:\WINNT\system32 = normalize_win32_path (C:\WINNT\system32) 160 227987 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/system32 = conv_to_posix_path (C:\WINNT\system32) 116 228103 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT, keep-rel, no-add-slash) 113 228216 [main] ls 1178 normalize_win32_path: C:\WINNT = normalize_win32_path (C:\WINNT) 108 228324 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/WINNT = conv_to_posix_path (C:\WINNT) 113 228437 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TGS\OIV2.6\Program, keep-rel, no-add-slash) 119 228556 [main] ls 1178 normalize_win32_path: C:\Program Files\TGS\OIV2.6\Program = normalize_win32_path (C:\Program Files\TGS\OIV2.6\Program) 116 228672 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/TGS/OIV2.6/Program = conv_to_posix_path (C:\Program Files\TGS\OIV2.6\Program) 113 228785 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TGS\OIV2.6\Doc, keep-rel, no-add-slash) 116 228901 [main] ls 1178 normalize_win32_path: C:\Program Files\TGS\OIV2.6\Doc = normalize_win32_path (C:\Program Files\TGS\OIV2.6\Doc) 117 229018 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/TGS/OIV2.6/Doc = conv_to_posix_path (C:\Program Files\TGS\OIV2.6\Doc) 116 229134 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT\system32, keep-rel, no-add-slash) 110 229244 [main] ls 1178 normalize_win32_path: C:\WINNT\system32 = normalize_win32_path (C:\WINNT\system32) 112 229356 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/system32 = conv_to_posix_path (C:\WINNT\system32) 116 229472 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINNT, keep-rel, no-add-slash) 113 229585 [main] ls 1178 normalize_win32_path: C:\WINNT = normalize_win32_path (C:\WINNT) 109 229694 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/WINNT = conv_to_posix_path (C:\WINNT) 113 229807 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TGS\OIV2.6\Program, keep-rel, no-add-slash) 156 229963 [main] ls 1178 normalize_win32_path: C:\Program Files\TGS\OIV2.6\Program = normalize_win32_path (C:\Program Files\TGS\OIV2.6\Program) 128 230091 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/TGS/OIV2.6/Program = conv_to_posix_path (C:\Program Files\TGS\OIV2.6\Program) 114 230205 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TGS\OIV2.6\Doc, keep-rel, no-add-slash) 115 230320 [main] ls 1178 normalize_win32_path: C:\Program Files\TGS\OIV2.6\Doc = normalize_win32_path (C:\Program Files\TGS\OIV2.6\Doc) 225094 455414 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/TGS/OIV2.6/Doc = conv_to_posix_path (C:\Program Files\TGS\OIV2.6\Doc) 350 455764 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (c:\apps\cygwin\bin, keep-rel, no-add-slash) 124 455888 [main] ls 1178 normalize_win32_path: c:\apps\cygwin\bin = normalize_win32_path (c:\apps\cygwin\bin) 120 456008 [main] ls 1178 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (c:\apps\cygwin\bin) 119 456127 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (c:\apps\emacs-20.7\site-bin, keep-rel, no-add-slash) 204 456331 [main] ls 1178 normalize_win32_path: c:\apps\emacs-20.7\site-bin = normalize_win32_path (c:\apps\emacs-20.7\site-bin) 114 456445 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/apps/emacs-20.7/site-bin = conv_to_posix_path (c:\apps\emacs-20.7\site-bin) 117 456562 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (c:\apps\emacs-20.7\bin, keep-rel, no-add-slash) 117 456679 [main] ls 1178 normalize_win32_path: c:\apps\emacs-20.7\bin = normalize_win32_path (c:\apps\emacs-20.7\bin) 113 456792 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/apps/emacs-20.7/bin = conv_to_posix_path (c:\apps\emacs-20.7\bin) 114 456906 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (c:\usr\local\bin, keep-rel, no-add-slash) 113 457019 [main] ls 1178 normalize_win32_path: c:\usr\local\bin = normalize_win32_path (c:\usr\local\bin) 114 457133 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/usr/local/bin = conv_to_posix_path (c:\usr\local\bin) 115 457248 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (c:\apps\texmf\miktex\bin, keep-rel, no-add-slash) 112 457360 [main] ls 1178 normalize_win32_path: c:\apps\texmf\miktex\bin = normalize_win32_path (c:\apps\texmf\miktex\bin) 116 457476 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/apps/texmf/miktex/bin = conv_to_posix_path (c:\apps\texmf\miktex\bin) 339 457815 [main] ls 1178 win_env::add_cache: posix /cygdrive/c/WINNT/MS/SMS/CORE/BIN:/cygdrive/c/WINNT/MS/SMS/CORE/BIN:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Program Files/TGS/OIV2.6/Program:/cygdrive/c/Program Files/TGS/OIV2.6/Doc:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Program Files/TGS/OIV2.6/Program:/cygdrive/c/Program Files/TGS/OIV2.6/Doc:/usr/bin:/cygdrive/c/apps/emacs-20.7/site-bin:/cygdrive/c/apps/emacs-20.7/bin:/cygdrive/c/usr/local/bin:/cygdrive/c/apps/texmf/miktex/bin 166 457981 [main] ls 1178 win_env::add_cache: native PATH=C:\WINNT\MS\SMS\CORE\BIN;C:\WINNT\MS\SMS\CORE\BIN;C:\WINNT\system32;C:\WINNT;C:\Program Files\TGS\OIV2.6\Program;C:\Program Files\TGS\OIV2.6\Doc;C:\WINNT\system32;C:\WINNT;C:\Program Files\TGS\OIV2.6\Program;C:\Program Files\TGS\OIV2.6\Doc;c:\apps\cygwin\bin;c:\apps\emacs-20.7\site-bin;c:\apps\emacs-20.7\bin;c:\usr\local\bin;c:\apps\texmf\miktex\bin 133 458114 [main] ls 1178 posify: env var converted to PATH=/cygdrive/c/WINNT/MS/SMS/CORE/BIN:/cygdrive/c/WINNT/MS/SMS/CORE/BIN:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Program Files/TGS/OIV2.6/Program:/cygdrive/c/Program Files/TGS/OIV2.6/Doc:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Program Files/TGS/OIV2.6/Program:/cygdrive/c/Program Files/TGS/OIV2.6/Doc:/usr/bin:/cygdrive/c/apps/emacs-20.7/site-bin:/cygdrive/c/apps/emacs-20.7/bin:/cygdrive/c/usr/local/bin:/cygdrive/c/apps/texmf/miktex/bin 277 458391 [main] ls 1178 environ_init: PATH=/cygdrive/c/WINNT/MS/SMS/CORE/BIN:/cygdrive/c/WINNT/MS/SMS/CORE/BIN:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Program Files/TGS/OIV2.6/Program:/cygdrive/c/Program Files/TGS/OIV2.6/Doc:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/Program Files/TGS/OIV2.6/Program:/cygdrive/c/Program Files/TGS/OIV2.6/Doc:/usr/bin:/cygdrive/c/apps/emacs-20.7/site-bin:/cygdrive/c/apps/emacs-20.7/bin:/cygdrive/c/usr/local/bin:/cygdrive/c/apps/texmf/miktex/bin 241562 699953 [main] ls 1178 environ_init: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH 308 700261 [main] ls 1178 environ_init: PROCESSOR_ARCHITECTURE=x86 211 700472 [main] ls 1178 environ_init: PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, GenuineIntel 220 700692 [main] ls 1178 environ_init: PROCESSOR_LEVEL=6 247 700939 [main] ls 1178 environ_init: PROCESSOR_REVISION=0801 201 701140 [main] ls 1178 environ_init: PROMPT=$P$G 202 701342 [main] ls 1178 environ_init: SHELL=C:/apps/emacs-20.7/bin/cmdproxy.exe 203 701545 [main] ls 1178 environ_init: SMS_LOCAL_DIR_USER=C:\WINNT 203 701748 [main] ls 1178 environ_init: SYSTEMDRIVE=C: 200 701948 [main] ls 1178 environ_init: SYSTEMROOT=C:\WINNT 205 702153 [main] ls 1178 environ_init: TEMP=C:\TEMP 200 702353 [main] ls 1178 environ_init: TERM=emacs 202 702555 [main] ls 1178 environ_init: TERMCAP=emacs:co#121:tc=unknown: 233 702788 [main] ls 1178 environ_init: TMP=C:\TEMP 206 702994 [main] ls 1178 getwinenv: can't set native for TMPDIR= since no environ yet 208 703202 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (C:\TEMP, no-keep-rel, no-add-slash) 121 703323 [main] ls 1178 normalize_win32_path: C:\TEMP = normalize_win32_path (C:\TEMP) 169 703492 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/c/TEMP = conv_to_posix_path (C:\TEMP) 308 703800 [main] ls 1178 win_env::add_cache: posix /cygdrive/c/TEMP 106 703906 [main] ls 1178 win_env::add_cache: native TMPDIR=C:\TEMP 107 704013 [main] ls 1178 posify: env var converted to TMPDIR=/cygdrive/c/TEMP 205 704218 [main] ls 1178 environ_init: TMPDIR=/cygdrive/c/TEMP 204 704422 [main] ls 1178 environ_init: USERDOMAIN=GOLD 201 704623 [main] ls 1178 environ_init: USERNAME=ps 232 704855 [main] ls 1178 environ_init: USERPROFILE=C:\WINNT\Profiles\pet 202 705057 [main] ls 1178 environ_init: WINDIR=C:\WINNT 247 705304 [main] ls 1178 pinfo_init: pid 1178, pgid 1178 559 705863 [main] ls 1178 hinfo::extend: size 32, fds 0xA040F20 39951 745814 [main] ls 1178 internal_getlogin: Domain: GOLD 426 746240 [main] ls 1178 internal_getlogin: Logon Server: STIBITZ 118 746358 [main] ls 1178 internal_getlogin: Windows Username: ps 157 746515 [main] ls 1178 lookup_name: name : ps 16598 763113 [main] ls 1178 lookup_name: sid : [6847] 633 763746 [main] ls 1178 internal_getlogin: Cygwins Username: ps 199 763945 [main] ls 1178 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0) 133 764078 [main] ls 1178 _cygwin_istext_for_stdio: _cifs: old API 117 764195 [main] ls 1178 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (1) 107 764302 [main] ls 1178 _cygwin_istext_for_stdio: _cifs: old API 109 764411 [main] ls 1178 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (2) 110 764521 [main] ls 1178 _cygwin_istext_for_stdio: _cifs: old API 224 764745 [main] ls 1178 _open: open (/etc/passwd, 0x0) 864 765609 [main] ls 1178 hinfo::build_fhandler: some disk file - cb 64, fd 3, fh 0xA041118 229718 995327 [main] ls 1178 fhandler_disk_file::open: (/etc/passwd, 0x0) 325 995652 [main] ls 1178 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd) 321 995973 [main] ls 1178 mount_info::conv_to_posix_path: conv_to_posix_path (Z:\, no-keep-rel, no-add-slash) 176 996149 [main] ls 1178 normalize_win32_path: Z:\ = normalize_win32_path (Z:\) 118 996267 [main] ls 1178 mount_info::conv_to_posix_path: /cygdrive/z = conv_to_posix_path (Z:\) 205 996472 [main] ls 1178 getcwd_inner: 0x240EF24 (/cygdrive/z) = getcwd_inner (0x240EF24, 260, posix) 116 996588 [main] ls 1178 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd) 129 996717 [main] ls 1178 mount_info::conv_to_win32_path: c:\apps\cygwin\etc\passwd(rel), c:\apps\cygwin\etc\passwd(abs) 0x2(flags) = conv_to_win32_path (/etc/passwd) 479 997196 [main] ls 1178 symlink_info::check: GetFileAttributesA (c:\apps\cygwin\etc\passwd) failed 163 997359 [main] ls 1178 /cygnus/netrel/src/cygwin-1.1.2/winsup/cygwin/path.cc:2171 seterrno: 2 (FILE_NOT_FOUND) -> 2 114 997473 [main] ls 1178 symlink_info::check: 0 = symlink.check (c:\apps\cygwin\etc\passwd, 0x240F2C9) (0x2) 208 997681 [main] ls 1178 symlink_info::check: not a symlink 165 997846 [main] ls 1178 symlink_info::check: 0 = symlink.check (c:\apps\cygwin\etc, 0x240F2C9) (0x0) 445 998291 [main] ls 1178 path_conv::check: GetVolumeInformation(c:\) = OK, full_path(c:\apps\cygwin\etc\passwd), set_has_acls(8) 389 998680 [main] ls 1178 fhandler_base::open: (c:\apps\cygwin\etc\passwd, 0x0) 672 999352 [main] ls 1178 fhandler_base::open: -1 = CreateFileA (c:\apps\cygwin\etc\passwd, 0x80000000, 0x3, 0x61082664, 0x3, 0x80, 0) 196 999548 [main] ls 1178 /cygnus/netrel/src/cygwin-1.1.2/winsup/cygwin/fhandler.cc:339 seterrno: 2 (FILE_NOT_FOUND) -> 2 117 999665 [main] ls 1178 fhandler_base::open: 0 = fhandler_base::open (c:\apps\cygwin\etc\passwd, 0x0) 179 999844 [main] ls 1178 fhandler_disk_file::open: 0 = fhandler_disk_file::open (c:\apps\cygwin\etc\passwd, 0x0) 1015 1000859 [main] ls 1178 _open: -1 = open (/etc/passwd, 0x0) 115 1000974 [main] ls 1178 read_etc_passwd: Emulating /etc/passwd 2452 1003426 [main] ls 1178 _open: open (/etc/group, 0x0) 970 1004396 [main] ls 1178 hinfo::build_fhandler: some disk file - cb 64, fd 3, fh 0xA041460 119 1004515 [main] ls 1178 fhandler_disk_file::open: (/etc/group, 0x0) 112 1004627 [main] ls 1178 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/group) 116 1004743 [main] ls 1178 getcwd_inner: 0x240F1F4 (/cygdrive/z) = getcwd_inner (0x240F1F4, 260, posix) (cached) 119 1004862 [main] ls 1178 normalize_posix_path: /etc/group = normalize_posix_path (/etc/group) 124 1004986 [main] ls 1178 mount_info::conv_to_win32_path: c:\apps\cygwin\etc\group(rel), c:\apps\cygwin\etc\group(abs) 0x2(flags) = conv_to_win32_path (/etc/group) 384 1005370 [main] ls 1178 symlink_info::check: GetFileAttributesA (c:\apps\cygwin\etc\group) failed 136 1005506 [main] ls 1178 /cygnus/netrel/src/cygwin-1.1.2/winsup/cygwin/path.cc:2171 seterrno: 2 (FILE_NOT_FOUND) -> 2 113 1005619 [main] ls 1178 symlink_info::check: 0 = symlink.check (c:\apps\cygwin\etc\group, 0x240F599) (0x2) 197 1005816 [main] ls 1178 symlink_info::check: not a symlink 170 1005986 [main] ls 1178 symlink_info::check: 0 = symlink.check (c:\apps\cygwin\etc, 0x240F599) (0x0) 230614 1236600 [main] ls 1178 path_conv::check: GetVolumeInformation(c:\) = OK, full_path(c:\apps\cygwin\etc\group), set_has_acls(8) 565 1237165 [main] ls 1178 fhandler_base::open: (c:\apps\cygwin\etc\group, 0x0) 699 1237864 [main] ls 1178 fhandler_base::open: -1 = CreateFileA (c:\apps\cygwin\etc\group, 0x80000000, 0x3, 0x61082664, 0x3, 0x80, 0) 195 1238059 [main] ls 1178 /cygnus/netrel/src/cygwin-1.1.2/winsup/cygwin/fhandler.cc:339 seterrno: 2 (FILE_NOT_FOUND) -> 2 117 1238176 [main] ls 1178 fhandler_base::open: 0 = fhandler_base::open (c:\apps\cygwin\etc\group, 0x0) 170 1238346 [main] ls 1178 fhandler_disk_file::open: 0 = fhandler_disk_file::open (c:\apps\cygwin\etc\group, 0x0) 967 1239313 [main] ls 1178 _open: -1 = open (/etc/group, 0x0) 114 1239427 [main] ls 1178 read_etc_group: Emulating /etc/group 3861 1243288 [main] ls 1178 sigproc_init: process/signal handling enabled(1) 653 1243941 [main] ls 1178 hinfo::build_fhandler: {stdin} - cb 64, fd 0, fh 0xA041480 119 1244060 [main] ls 1178 fhandler_base::set_io_handle: set handle to 0x84 108 1244168 [main] ls 1178 fhandler_base::init: created new fhandler_base for handle 0x84 111 1244279 [main] ls 1178 hinfo::init_std_file_from_handle: fd 0, handle 0x84 523 1244802 [main] ls 1178 hinfo::build_fhandler: {stdout} - cb 64, fd 1, fh 0xA041598 109 1244911 [main] ls 1178 fhandler_base::set_io_handle: set handle to 0xF4 108 1245019 [main] ls 1178 fhandler_base::init: created new fhandler_base for handle 0xF4 109 1245128 [main] ls 1178 hinfo::init_std_file_from_handle: fd 1, handle 0xF4 439 1245567 [main] ls 1178 hinfo::build_fhandler: {stderr} - cb 64, fd 2, fh 0xA0416B0 108 1245675 [main] ls 1178 fhandler_base::set_io_handle: set handle to 0xC4 105 1245780 [main] ls 1178 fhandler_base::init: created new fhandler_base for handle 0xC4 110 1245890 [main] ls 1178 hinfo::init_std_file_from_handle: fd 2, handle 0xC4 206 1246096 [main] ls 1178 build_argv: argv[0] = 'ls' 104 1246200 [main] ls 1178 build_argv: argv[1] = '(null)' 154 1246354 [main] ls 1178 DllList::initAll: call to DllList::initAll 115 1246469 [main] ls 1178 dll_crt0_1: user_data->main 0x401660 979 1247448 [sig] ls 1178 wait_sig: sigcatch_nonmain 0xA0 195 1247643 [sig] ls 1178 wait_sig: Ready. dwProcessid 227 4690 1252333 [main] ls 1178 sig_send: pid 1178, signal -2, its_me 1 502 1252835 [main] ls 1178 sig_send: ReleaseSemaphore succeeded 117 1252952 [main] ls 1178 sig_send: Waiting for thiscomplete 0xB0 274 1253226 [sig] ls 1178 wait_sig: awake 144 1253370 [sig] ls 1178 wait_sig: processing signal -2 173 1253543 [sig] ls 1178 wait_sig: looping 1290 1254833 [main] ls 1178 sig_send: returning 0 from sending signal -2 802 1255635 [main] ls 1178 time: 962841133 = time (0) 530 1256165 [main] ls 1178 isatty: 0 = isatty (1) 539 1256704 [main] ls 1178 ioctl: fd 1, cmd 5401 112 1256816 [main] ls 1178 fhandler_base::ioctl: ioctl (5401, 0x240FE84) 552 1257368 [main] ls 1178 mount_info::conv_to_win32_path: conv_to_win32_path (.) 125 1257493 [main] ls 1178 getcwd_inner: 0x240F3A4 (/cygdrive/z) = getcwd_inner (0x240F3A4, 260, posix) (cached) 228806 1486299 [main] ls 1178 normalize_posix_path: /cygdrive/z = normalize_posix_path (.) 330 1486629 [main] ls 1178 mount_info::cygdrive_win32_path: src '/cygdrive/z', dst 'z:\' 126 1486755 [main] ls 1178 mount_info::conv_to_win32_path: .(rel), z:\(abs) 0x20(flags) = conv_to_win32_path (.) 6568 1493323 [main] ls 1178 symlink_info::check: not a symlink 515 1493838 [main] ls 1178 symlink_info::check: 0 = symlink.check (z:\, 0x240F749) (0x20) 1880 1495718 [main] ls 1178 path_conv::check: GetVolumeInformation(z:\) = ERR, full_path(z:\), set_has_acls(FALSE) 336 1496054 [main] ls 1178 stat_worker: stat (z:\, 0x240FE24) 125 1496179 [main] ls 1178 mount_info::conv_to_win32_path: conv_to_win32_path (z:\) 125 1496304 [main] ls 1178 getcwd_inner: 0x240EF64 (/cygdrive/z) = getcwd_inner (0x240EF64, 260, posix) (cached) 123 1496427 [main] ls 1178 mount_info::conv_to_win32_path: z:\ already win32 113 1496540 [main] ls 1178 normalize_win32_path: z:\ = normalize_win32_path (z:\) 112 1496652 [main] ls 1178 mount_info::conv_to_win32_path: z:\(rel), z:\(abs) 0x0(flags) = conv_to_win32_path (z:\) 980 1497632 [main] ls 1178 symlink_info::check: not a symlink 220 1497852 [main] ls 1178 symlink_info::check: 0 = symlink.check (z:\, 0x240F309) (0x0) 708 1498560 [main] ls 1178 path_conv::check: GetVolumeInformation(z:\) = ERR, full_path(z:\), set_has_acls(FALSE) 180 1498740 [main] ls 1178 stat_worker: 16 = GetFileAttributesA (z:\) 133 1498873 [main] ls 1178 fhandler_base::open: (z:\, 0x110000) 1006 1499879 [main] ls 1178 fhandler_base::open: -1 = CreateFileA (z:\, 0x80000000, 0x3, 0x61082664, 0x3, 0x2000080, 0) 229 1500108 [main] ls 1178 /cygnus/netrel/src/cygwin-1.1.2/winsup/cygwin/fhandler.cc:339 seterrno: 5 (ACCESS_DENIED) -> 13 122 1500230 [main] ls 1178 fhandler_base::open: 0 = fhandler_base::open (z:\, 0x110000) 115 1500345 [main] ls 1178 fhandler_disk_file::open: 0 = fhandler_disk_file::open (z:\, 0x110000) 721 1501066 [main] ls 1178 stat_worker: 0 = stat (z:\, 0x240FE24) 497 1501563 [main] ls 1178 opendir: 0xA043920 = opendir (.) 715 1502278 [main] ls 1178 /cygnus/netrel/src/cygwin-1.1.2/winsup/cygwin/dir.cc:165 seterrno: 5 (ACCESS_DENIED) -> 13 172 1502450 [main] ls 1178 readdir: 0x0 = readdir (0xA043920) 406 1502856 [main] ls 1178 closedir: 0 = closedir (0xA043920) 369 1503225 [main] ls 1178 _close: close (1) 731 1503956 [main] ls 1178 fhandler_base::close: handle 0xF4 968 1504924 [main] ls 1178 _close: 0 = close (1) 154 1505078 [main] ls 1178 do_exit: do_exit (0) 111 1505189 [main] ls 1178 void: 0x0 = signal (20, 0x1) 106 1505295 [main] ls 1178 void: 0x0 = signal (1, 0x1) 104 1505399 [main] ls 1178 void: 0x0 = signal (2, 0x1) 106 1505505 [main] ls 1178 void: 0x0 = signal (3, 0x1) 473 1505978 [main] ls 1178 _close: close (0) 658 1506636 [main] ls 1178 fhandler_base::close: handle 0x84 999 1507635 [main] ls 1178 _close: 0 = close (0) 835 1508470 [main] ls 1178 _close: close (2) 686 1509156 [main] ls 1178 fhandler_base::close: handle 0xC4 943 1510099 [main] ls 1178 _close: 0 = close (2) 227765 1737864 [main] ls 1178 proc_terminate: nchildren 0, nzombies 0 181 1738045 [main] ls 1178 proc_terminate: leaving 105 1738150 [main] ls 1178 sigproc_terminate: entering 110 1738260 [main] ls 1178 sigproc_terminate: done 110 1738370 [main] ls 1178 do_exit: 1178 == pgrp 1178, send SIG{HUP,CONT} to stopped children 111 1738481 [main] ls 1178 kill_pgrp: pid 1178, sig -1 237 1738718 [main] ls 1178 proc_exists: checking for existence of pid 1000, window pid 149 191 1738909 [main] ls 1178 proc_exists: it exists, 0x9C 132 1739041 [main] ls 1178 proc_exists: checking for existence of pid 1129, window pid 186 126 1739167 [main] ls 1178 proc_exists: it exists, 0xC0 145 1739312 [main] ls 1178 kill_pgrp: -1 = kill (1178, -1) 192 1739504 [main] ls 1178 __to_clock_t: dwHighDateTime 0, dwLowDateTime 300432 114 1739618 [main] ls 1178 __to_clock_t: total 00000000 0000001E 114 1739732 [main] ls 1178 __to_clock_t: dwHighDateTime 0, dwLowDateTime 300432 105 1739837 [main] ls 1178 __to_clock_t: total 00000000 0000001E 115 1739952 [main] ls 1178 my_parent_is_alive: No parent_alive mutex 115 1740067 [main] ls 1178 do_exit: calling ExitProcess 0 Z:\> -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com