Hi, Uday, I am seeing the problem on Windows 2003 server SP1. I can create files and directories, but can't do an ls. The permissions on the folders are what's killing me but I'm not sure how to fix it.
thanks, Ron > Date: Mon, 9 Jun 2008 11:00:00 +0000 > From: [EMAIL PROTECTED] > Subject: Re: Windows CIFS share "ls: reading directory .: permission denied" > To: [EMAIL PROTECTED]; cygwin@cygwin.com > > Hi Ron, > Are you using XP/NT? > I am facing the exact same problem with my cygwin in windows XP. > In my case, I am able to browse the folders from windows explorer and > modify/add files too. > With cygwin, I can navigate the directory structure, but am unable to > modify/add/list files. > Thanks > Uday > > ----- Original Message ---- >> From: Ron Scruggs >> To: cygwin@cygwin.com >> Sent: Monday, June 9, 2008 3:00:56 AM >> Subject: RE: Windows CIFS share "ls: reading directory .: permission denied" >> >> >> Hi, again, >> >> If I didn't give enough information or the correct information, I apologize. >> I'm really hoping that this is something simple that I'm overlooking. If >> it's a >> newbie mistake, please forgive me, but if anyone knows the answer, please >> let me >> know or hopefully point me in the right direction. >> >> Thanks, >> >> Ron >> >> >> >>> From: [EMAIL PROTECTED] >>> To: cygwin@cygwin.com >>> Subject: Windows CIFS share "ls: reading directory .: permission denied" >>> Date: Fri, 6 Jun 2008 18:09:11 -0400 >>> >>> >>> >>> All, >>> >>> We are using NAS gateways that serve out CIFS folder shares to our >> environment. I'm trying to use Cygwin to access directories and files within >> one >> of these shares, I am a domain admin and should have all the rights I need. >> The >> symptoms I'm encountering are that if I cd to a mount point of one of the NAS >> shares (i.e. /cygdrive/z) and try to do an ls, I get "ls: reading directory >> .: >> permission denied". If I cd into a subdirectory that I know is there, it >> works, >> but I still can't do an ls. >>> >>> I've run the mkpasswd -d and the mkgroup -d and have set the nontsec and >> nosmbntsec in the CYGWIN environment variable. I've seen a couple other >> people >> who have had the same issue in the past, but there's no solution posted. >> Please >> advise. >>> >>> cygcheck -s output: >>> >>> Cygwin Configuration Diagnostics >>> Current System Time: Fri Jun 06 17:58:34 2008 >>> >>> Windows 2003 Server Ver 5.2 Build 3790 Service Pack 1 >>> >>> Path: C:\cygwin\usr\local\bin >>> C:\cygwin\bin >>> C:\cygwin\bin >>> C:\cygwin\usr\X11R6\bin >>> c:\WINDOWS\system32 >>> c:\WINDOWS >>> c:\WINDOWS\System32\Wbem >>> c:\Program Files\Intel\DMIX >>> >>> Output from C:\cygwin\bin\id.exe (nontsec) >>> UID: 32488(ron.scruggs) GID: 10513(Domain Users) >>> 10512(Domain Admins) 10513(Domain Users) >>> >>> >>> Output from C:\cygwin\bin\id.exe (ntsec) >>> UID: 32488(ron.scruggs) GID: 10513(Domain Users) >>> 10512(Domain Admins) 10513(Domain Users) >>> >>> SysDir: C:\WINDOWS\system32 >>> WinDir: C:\WINDOWS >>> >>> USER = 'ron.scruggs' >>> PWD = '/home/ron.scruggs' >>> CYGWIN = 'nontsec nosmbntsec' >>> HOME = '/home/ron.scruggs' >>> MAKE_MODE = 'unix' >>> >>> Use '-r' to scan registry >>> >>> c: hd NTFS 139337Mb 7% CP CS UN PA FC >>> d: fd N/A N/A >>> e: cd N/A N/A >>> f: cd N/A N/A >>> x: net NTFS 1089407Mb 75% CP CS UN PA ron_test_vol >>> y: net NTFS 598961Mb 73% CP CS UN PA APS200 >>> z: net NTFS 2097023Mb 4% CP CS UN PA FS200_1 >>> >>> C:\cygwin / system binmode >>> \\us03vofs200\rtv_root /onstor/rtv_root system binmode,noexec >>> C:\cygwin/bin /usr/bin system binmode >>> C:\cygwin/lib /usr/lib system binmode >>> . /cygdrive system binmode,cygdrive >>> >>> Found: C:\cygwin\bin\awk.exe >>> Found: C:\cygwin\bin\bash.exe >>> Found: C:\cygwin\bin\cat.exe >>> Found: C:\cygwin\bin\cp.exe >>> Not Found: cpp (good!) >>> Not Found: crontab >>> Found: C:\cygwin\bin\find.exe >>> Not Found: gcc >>> Not Found: gdb >>> Found: C:\cygwin\bin\grep.exe >>> Found: C:\cygwin\bin\kill.exe >>> Not Found: ld >>> Found: C:\cygwin\bin\ls.exe >>> Not Found: make >>> Found: C:\cygwin\bin\mv.exe >>> Not Found: patch >>> Not Found: perl >>> Found: C:\cygwin\bin\rm.exe >>> Found: C:\cygwin\bin\sed.exe >>> Not Found: ssh >>> Found: C:\cygwin\bin\sh.exe >>> Found: C:\cygwin\bin\tar.exe >>> Found: C:\cygwin\bin\test.exe >>> Not Found: vi >>> Not Found: vim >>> >>> 61k 2008/04/01 C:\cygwin\bin\cygbz2-1.dll >>> 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll >>> 40k 2006/11/15 C:\cygwin\bin\cygform-8.dll >>> 25k 2008/01/04 C:\cygwin\bin\cyghistory6.dll >>> 271k 2007/08/24 C:\cygwin\bin\cygicons-0.dll >>> 976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll >>> 31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll >>> 31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll >>> 21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll >>> 67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll >>> 237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll >>> 12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll >>> 150k 2008/04/25 C:\cygwin\bin\cygpcre-0.dll >>> 303k 2008/04/25 C:\cygwin\bin\cygpcrecpp-0.dll >>> 7k 2008/04/25 C:\cygwin\bin\cygpcreposix-0.dll >>> 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll >>> 155k 2008/01/04 C:\cygwin\bin\cygreadline6.dll >>> 1828k 2008/05/27 C:\cygwin\bin\cygwin1.dll >>> Cygwin DLL version info: >>> DLL version: 1.5.25 >>> DLL epoch: 19 >>> DLL bad signal mask: 19005 >>> DLL old termios: 5 >>> DLL malloc env: 28 >>> API major: 0 >>> API minor: 156 >>> Shared data: 4 >>> DLL identifier: cygwin1 >>> Mount registry: 2 >>> Cygnus registry name: Cygnus Solutions >>> Cygwin registry name: Cygwin >>> Program options name: Program Options >>> Cygwin mount registry name: mounts v2 >>> Cygdrive flags: cygdrive flags >>> Cygdrive prefix: cygdrive prefix >>> Cygdrive default prefix: >>> Build date: Mon May 26 20:37:58 EDT 2008 >>> CVS tag: cr-0x5f1 >>> Shared id: cygwin1S4 >>> >>> >>> Can't find the cygrunsrv utility, skipping services check. >>> >>> >>> Cygwin Package Information >>> Package Version >>> _update-info-dir 00737-1 >>> alternatives 1.3.30c-2 >>> ash 20040127-3 >>> base-files 3.7-1 >>> base-passwd 2.2-1 >>> bash 3.2.39-19 >>> bzip2 1.0.5-2 >>> coreutils 6.10-1 >>> crypt 1.1-1 >>> cygutils 1.3.2-1 >>> cygwin 1.5.25-14 >>> cygwin-doc 1.4-4 >>> editrights 1.01-2 >>> findutils 4.4.0-1 >>> gawk 3.1.6-1 >>> grep 2.5.1a-4 >>> groff 1.18.1-2 >>> gzip 1.3.12-2 >>> less 382-1 >>> libbz2_1 1.0.5-2 >>> libiconv2 1.11-1 >>> libintl3 0.14.5-1 >>> libintl8 0.15-1 >>> libncurses8 5.5-3 >>> libpcre0 7.6-2 >>> libpopt0 1.6.4-4 >>> libreadline6 5.2.12-10 >>> login 1.9-7 >>> man 1.6e-1 >>> rebase 2.4.3-1 >>> run 1.1.10-1 >>> sed 4.1.5-2 >>> tar 1.20-1 >>> termcap 20050421-1 >>> terminfo 5.5_20061104-1 >>> texinfo 4.8a-1 >>> tzcode 2008a-1 >>> which 2.19-1 >>> Use -h to see help about each section >>> >>> _________________________________________________________________ >>> Now you can invite friends from Facebook and other groups to join you on >> Windows Liveā¢ Messenger. Add now. >>> https://www.invite2messenger.net/im/?source=TXT_EML_WLH_AddNow_Now >>> >>> -- >>> 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/ >>> >> >> _________________________________________________________________ >> Search that pays you back! Introducing Live Search cashback. >> http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=srchpaysyouback >> >> -- >> 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/ > > > > > > -- > 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/ > _________________________________________________________________ Search that pays you back! Introducing Live Search cashback. http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=srchpaysyouback -- 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/