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 13:30:19 -0400 (EDT) Message-Id: <200007051730.NAA27025@jessie.research.bell-labs.com> From: Peter Schroeder To: cygwin AT sourceware DOT cygnus DOT com Subject: cannot see contents of mounted drive Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII I just installed cygwin yesterday and I am having trouble seeing files on my z: drive. Basically my unix home directory is mounted from a netapp server as z: on my NT box (the file system is a FAT type). When I go to ~/ and do a pwd I get /cygdrive/z/, which is what I expect. When I then do a "ls" I don't see anything. If I do something like "less .bashrc" (for example) I do get what I expect. So for some reason when files are explicitly referred to they are seen, but when I do an ls I can't see anything. I tried "mount"ing z: explicitly, but that didn't solve the problem. What am I missing? When I used cmdproxy all by itself and do a "dir" on z:, everything is fine. Similarly, opening files from within emacs on z: works as expected. I did notice one weird thing. When I am in bash "whoami" returns "ps". When I do a "whoami" in cmdproxy (started by itself, not as a process under bash) I get GOLD\ps. Now, when I am in bash and start cmdproxy from there and then try to do a "dir" I get "permission denied". Doing "whoami" shows me as "ps" not as "GOLD\ps". I am not sure why this would matter as my unix permissions on that file system are set to 755. Nevertheless it is kind of weird. I looked through the FAQ and did a search on the mailing list archives, but I could not find anything. Any help you can provide is much appreciated. Thank you Peter ------------------------------------------------------------------------ bash.exe-2.04$ cygcheck -r -v -s Cygnus Win95/NT Configuration Diagnostics Current System Time: Wed Jul 5 12:55:27 2000 WinNT Ver 4.0 build 1381 Service Pack 6 Path: /cygdrive/c/WINNT/system32 /cygdrive/c/WINNT /cygdrive/c/apps/NTRESKIT /cygdrive/c/apps/NTRESKIT/Perl /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 SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME = `/cygdrive/z' PWD = `/cygdrive/c/apps/emacs-20.7/bin' COMPUTERNAME = `LILAC' COMSPEC = `C:\WINNT\system32\cmd.exe' CVSROOT = `:ext:ps AT emerald DOT cs DOT caltech DOT edu:/ufs/multires/projects' CVS_RSH = `ssh' EMACS = `t' EMACSDATA = `C:/apps/emacs-20.7/etc' EMACSDOC = `C:/apps/emacs-20.7/etc' EMACSLOADPATH = `C:/apps/emacs-20.7/site-lisp;C:/apps/emacs-20.7/lisp;C:/apps/emacs-20.7/leim' EMACSLOCKDIR = `C:/apps/emacs-20.7/lock' EMACSPATH = `C:/apps/emacs-20.7/bin' EMACS_DIR = `C:/apps/emacs-20.7' EM_PARENT_PROCESS_ID = `172' HOMEDRIVE = `Z:' HOMEPATH = `\' HOMESHARE = `\\brock\ps' HOSTNAME = `LILAC' HOSTTYPE = `i586' LOGONSERVER = `\\STIBITZ' MACHTYPE = `i586-pc-cygwin' NTRESKIT = `C:\apps\NTRESKIT' NUMBER_OF_PROCESSORS = `1' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' OSTYPE = `cygwin' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0801' SHELL = `C:/apps/emacs-20.7/bin/cmdproxy.exe' SHLVL = `1' SMS_LOCAL_DIR_USER = `C:\WINNT' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `C:\TEMP' TERM = `emacs' TERMCAP = `emacs:co#101:tc=unknown:' TMP = `C:\TEMP' TMPDIR = `/cygdrive/c/TEMP' TZ = `EST5EDT' USERDOMAIN = `GOLD' USERNAME = `ps' USERPROFILE = `C:\WINNT\Profiles\pet' WINDIR = `C:\WINNT' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000020 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `c:\apps\cygwin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `c:\apps\cygwin\bin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `c:\apps\cygwin\lib' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `C:' unix = `/' fbinary = 0x00000000 fsilent = 0x00000000 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\&Programs\Cygnus Solutions (default) = (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components\c:/apps/cygwin (default) = `20000627' bash = `0002.0004.0001' binutils = `20000625' bison = `0000' byacc = `0000' bzip = `0000' clear = `0001.0000' crypt = `0001.0000' cygwin = `0001.0001.0002' dejagnu = `0000' diff = `0000' expect = `0000' fileutils = `0000' findutils = `0000' flex = `0000' gawk = `0003.0000.0004' gcc = `0002.0095.0002.0002' gdb = `20000610' gperf = `0000' grep = `0000' groff = `0001.011a.0001' gzip = `0000' inetutils = `0001.0003.0002.0004' less = `0000' libpng = `0001.0000.0006.0001' login = `0001.0003' m = `0000' make = `0003.0079.0003' man = `0001.005g.0002' opengl = `0001.0002.0001.0001' patch = `0000' sed = `0003.0002.0001' shellutils = `0000' tar = `0000' tcltk = `20000610' termcap = `20000630' texinfo = `0000' textutils = `0000' time = `0000' zlib = `0001.0001.0003.0001' HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D a: fd N/A N/A c: hd NTFS 19539Mb 7% CP CS UN PA FC d: fd N/A N/A e: cd N/A N/A w: net NTFS 4337Mb 88% CP CS UN PA FC z: net 20480Mb 23% c:\apps\cygwin\bin /usr/bin user binmode c:\apps\cygwin\lib /usr/lib user binmode c:\apps\cygwin / user binmode Found: c:\apps\cygwin\bin\bash.exe Found: c:\apps\NTRESKIT\cat.exe Found: c:\apps\cygwin\bin\cat.exe Warning: c:\apps\NTRESKIT\cat.exe hides c:\apps\cygwin\bin\cat.exe Found: c:\apps\cygwin\bin\cpp.exe Found: c:\apps\cygwin\bin\find.exe Found: c:\apps\cygwin\bin\gcc.exe Found: c:\apps\cygwin\bin\gdb.exe Found: c:\apps\cygwin\bin\ld.exe Found: c:\apps\NTRESKIT\ls.exe Found: c:\apps\cygwin\bin\ls.exe Warning: c:\apps\NTRESKIT\ls.exe hides c:\apps\cygwin\bin\ls.exe Found: c:\apps\cygwin\bin\make.exe Found: c:\apps\cygwin\bin\sh.exe 83k 2000/06/11 c:\apps\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=2000/6/10 23:34 35k 2000/06/11 c:\apps\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=2000/6/10 23:34 402k 2000/06/11 c:\apps\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=2000/6/10 23:30 5k 2000/06/11 c:\apps\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 2000/06/11 c:\apps\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=2000/6/10 23:30 639k 2000/06/11 c:\apps\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=2000/6/10 23:34 575k 2000/06/07 c:\apps\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2000/6/6 22:20 446k 2000/07/04 c:\usr\local\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=1998/12/3 23:39 Use -h to see help about each section bash.exe-2.04$ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com