Seeing how G:\CYGWIN\BIN is further in your path than some other significant directories, I'm wondering if you're executing the correct 'chmod' binary.
>From a bash shell, show us the output of the following: $ type chmod === Jon > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > Of JOSE (GRI) > Sent: Wednesday, January 02, 2002 12:54 AM > To: [EMAIL PROTECTED] > Subject: Re: CHMOD propblem !!! > > > I'm out of ideas :( Have you tried chmod-ing from the bash shell ? > > Can you post the output of "cygcheck -r -s -v" ? > > > Cygnus Win95/NT Configuration Diagnostics > Current System Time: Wed Jan 02 08:50:20 2002 > > Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 > > Path: D:\PERL\BIN > C:\WINNT\SYSTEM32 > C:\WINNT > C:\WINNT\SYSTEM32\WBEM > S:\MC > S:\RCS\BINNT > G:\CYGWIN\BIN > I:\PHP > I:\PHP\extensions > S:\Jdk1.3.1\JRE\BIN\classic > S:\Jdk1.3.1\bin > S:\Jdk1.3.1\jre\bin > S:\Jdk1.3.1\lib > D:\Microsoft Visual Studio\Common\Tools\WinNT > D:\Microsoft Visual Studio\Common\MSDev98\Bin > D:\Microsoft Visual Studio\Common\Tools > D:\Microsoft Visual Studio\VC98\bin > S:\WATCOM\BINNT > S:\WATCOM\BINW > > SysDir: C:\WINNT\System32 > WinDir: C:\WINNT > > CYGWIN = `ntsec' > Path = > `D:\PERL\BIN;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;S:\ > MC;S:\RCS\BINNT;G:\CYGWIN\BIN;I:\PHP;I:\PHP\extensions;S:\Jdk1.3.1 > \JRE\BIN\classic;S:\Jdk1.3.1\bin;S:\Jdk1.3.1\jre\bin;S:\Jdk1.3.1\l > ib;D:\Microsoft > Visual Studio\Common\Tools\WinNT;D:\Microsoft Visual > Studio\Common\MSDev98\Bin;D:\Microsoft Visual > Studio\Common\Tools;D:\Microsoft Visual > Studio\VC98\bin;S:\WATCOM\BINNT;S:\WATCOM\BINW' > USER = `JOSE' > > ALLUSERSPROFILE = `C:\Documents and Settings\All Users' > APPDATA = `C:\Documents and Settings\jose\Datos de programa' > CommonProgramFiles = `C:\Archivos de programa\Archivos comunes' > COMPUTERNAME = `PC3' > ComSpec = `C:\WINNT\system32\cmd.exe' > EDPATH = `S:\WATCOM\EDDAT' > HOMEDRIVE = `C:' > HOMEPATH = `\' > INCLUDE = `D:\Microsoft Visual Studio\VC98\atl\include;D:\Microsoft > Visual Studio\VC98\mfc\include;D:\Microsoft Visual > Studio\VC98\include;S:\WATCOM\H;S:\WATCOM\H\NT' > lib = `D:\Microsoft Visual Studio\VC98\mfc\lib;D:\Microsoft Visual > Studio\VC98\lib' > LOGONSERVER = `\\PC3' > MCASE = `JOSE' > MSDevDir = `D:\Microsoft Visual Studio\Common\MSDev98' > NUMBER_OF_PROCESSORS = `1' > OS = `Windows_NT' > Os2LibPath = `C:\WINNT\system32\os2\dll;' > PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' > PROCESSOR_ARCHITECTURE = `x86' > PROCESSOR_IDENTIFIER = `x86 Family 5 Model 8 Stepping 12, AuthenticAMD' > PROCESSOR_LEVEL = `5' > PROCESSOR_REVISION = `080c' > ProgramFiles = `D:\' > PROMPT = `$P$G' > SystemDrive = `C:' > SystemRoot = `C:\WINNT' > TEMP = `C:\DOCUME~1\jose\CONFIG~1\Temp' > TMP = `C:\DOCUME~1\jose\CONFIG~1\Temp' > TZ = `CET' > USERDOMAIN = `PC3' > USERNAME = `jose' > USERPROFILE = `C:\Documents and Settings\jose' > WATCOM = `S:\WATCOM' > windir = `C:\WINNT' > WWINHELP = `S:\WATCOM\BINW' > > 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\/bin > (default) = `G:\cygwin\bin' > flags = 0x00000000 > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/client > (default) = `S:\client' > flags = 0x00000000 > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/comun > (default) = `S:\comun' > flags = 0x00000000 > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/jdk1.3.1 > (default) = `s:\jdk1.3.1' > flags = 0x00000000 > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/tmp > (default) = `g:\cygwin\tmp' > flags = 0x00000000 > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib > (default) = `G:/cygwin/lib' > flags = 0x00000000 > 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 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\01 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\02 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\03 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\04 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\05 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\06 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\07 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\08 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\09 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\0A > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\0B > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\0C > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\0D > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\0E > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\0F > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\10 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\11 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\12 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\13 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\14 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\15 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\16 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\17 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\18 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\19 > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\1A > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\1B > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\1C > HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL > setup\b15.0\mounts\1D > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explor > er\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\mounts v2 > HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options > > a: fd N/A N/A > c: hd NTFS 1553Mb 91% CP CS UN PA FC WIN2000 > d: hd NTFS 2000Mb 67% CP CS UN PA FC Aplicaciones > e: hd NTFS 2000Mb 22% CP CS UN PA FC DatosAnt > f: hd NTFS 2000Mb 49% CP CS UN PA FC Datos > g: hd NTFS 2000Mb 14% CP CS UN PA FC CYGWIN > h: cd N/A N/A > i: hd NTFS 1004Mb 9% CP CS UN PA FC PHP > j: hd NTFS 2000Mb 7% CP CS UN PA FC APLICACIONES2 > k: hd NTFS 1004Mb 19% CP CS UN PA FC JAVA > l: hd NTFS 1004Mb 3% CP CS UN PA FC MCASE_LOCAL > o: net NTFS 937Mb 12% PA ? > s: net NTFS 7875Mb 68% PA ????? > t: net NTFS 2007Mb 43% CP CS UN PA FC > u: net NTFS 937Mb 12% PA ????? > w: net HPFS 1004Mb 89% CP DATOS > x: net NTFS 3451Mb 32% PA ????? > z: net NTFS 6204Mb 93% PA ??? > > G:\cygwin\bin /bin user textmode > S:\client /client user textmode > S:\comun /comun user textmode > s:\jdk1.3.1 /jdk1.3.1 user textmode > g:\cygwin\tmp /tmp user textmode > G:/cygwin/lib /usr/lib user textmode > . /cygdrive user textmode,noumount > > Found: G:\CYGWIN\BIN\bash.exe > Found: G:\CYGWIN\BIN\cat.exe > Found: G:\CYGWIN\BIN\cpp.exe > Found: G:\CYGWIN\BIN\find.exe > Found: G:\CYGWIN\BIN\gcc.exe > Found: S:\MC\gdb.exe > Found: G:\CYGWIN\BIN\gdb.exe > Warning: S:\MC\gdb.exe hides G:\CYGWIN\BIN\gdb.exe > Found: G:\CYGWIN\BIN\ld.exe > Found: G:\CYGWIN\BIN\ls.exe > Found: G:\CYGWIN\BIN\make.exe > Found: G:\CYGWIN\BIN\sh.exe > > 56k 2000/12/03 G:\CYGWIN\BIN\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0 > "cygbz21.0.dll" v0.0 ts=2000/11/20 23:53 > 821k 2001/11/19 G:\CYGWIN\BIN\cygcrypto.dll - os=4.0 img=1.0 sys=4.0 > "cygcrypto.dll" v0.0 ts=2001/11/19 23:42 > 102k 2001/12/06 G:\CYGWIN\BIN\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0 > "cygcurl-2.dll" v0.0 ts=2001/12/6 18:45 > 45k 2001/04/25 G:\CYGWIN\BIN\cygform5.dll - os=4.0 img=1.0 sys=4.0 > "cygform5.dll" v0.0 ts=2001/4/25 5:28 > 34k 2001/09/30 G:\CYGWIN\BIN\cygform6.dll - os=4.0 img=1.0 sys=4.0 > "cygform6.dll" v0.0 ts=2001/9/30 2:43 > 18k 2000/10/23 G:\CYGWIN\BIN\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 > "cyggdbm.dll" v0.0 ts=2000/10/23 2:26 > 17k 2001/06/28 G:\CYGWIN\BIN\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 > > "cyghistory4.dll" v0.0 ts=2001/1/7 4:34 > 21k 2001/06/28 G:\CYGWIN\BIN\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 > > "cyghistory5.dll" v0.0 ts=2001/6/28 2:27 > 21k 2001/06/20 G:\CYGWIN\BIN\cygintl.dll - os=4.0 img=1.0 sys=4.0 > "cygintl.dll" v0.0 ts=2001/6/20 17:09 > 81k 2001/10/20 G:\CYGWIN\BIN\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 > "cygitcl30.dll" v0.0 ts=2001/10/20 0:25 > 35k 2001/10/20 G:\CYGWIN\BIN\cygitk30.dll - os=4.0 img=1.0 sys=4.0 > "cygitk30.dll" v0.0 ts=2001/10/20 0:25 > 45k 2001/07/04 G:\CYGWIN\BIN\cygjbig1.dll - os=4.0 img=1.0 sys=4.0 > "cygjbig1.dll" v0.0 ts=2001/7/4 3:25 > 119k 2001/06/06 G:\CYGWIN\BIN\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0 > "cygjpeg6b.dll" v0.0 ts=2001/6/6 4:27 > 26k 2001/04/25 G:\CYGWIN\BIN\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 > "cygmenu5.dll" v0.0 ts=2001/4/25 5:27 > 19k 2001/09/30 G:\CYGWIN\BIN\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 > "cygmenu6.dll" v0.0 ts=2001/9/30 2:43 > 156k 2001/04/25 G:\CYGWIN\BIN\cygncurses++5.dll - os=4.0 img=1.0 > sys=4.0 > "cygncurses++5.dll" v0.0 ts=2001/4/25 5:29 > 175k 2001/09/30 G:\CYGWIN\BIN\cygncurses++6.dll - os=4.0 img=1.0 > sys=4.0 > "cygncurses++6.dll" v0.0 ts=2001/9/30 2:45 > 226k 2001/04/25 G:\CYGWIN\BIN\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 > > "cygncurses5.dll" v0.0 ts=2001/4/25 5:17 > 201k 2001/09/30 G:\CYGWIN\BIN\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 > > "cygncurses6.dll" v0.0 ts=2001/9/30 2:42 > 15k 2001/04/25 G:\CYGWIN\BIN\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 > "cygpanel5.dll" v0.0 ts=2001/4/25 5:27 > 12k 2001/09/30 G:\CYGWIN\BIN\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 > "cygpanel6.dll" v0.0 ts=2001/9/30 2:43 > 40k 2001/11/21 G:\CYGWIN\BIN\cygpcre.dll - os=4.0 img=1.0 sys=4.0 > "cygpcre.dll" v0.0 ts=2001/11/21 22:15 > 39k 2001/11/21 G:\CYGWIN\BIN\cygpcreposix.dll - os=4.0 img=1.0 > sys=4.0 > "cygpcreposix.dll" v0.0 ts=2001/11/21 22:15 > 163k 2001/05/06 G:\CYGWIN\BIN\cygpng2.dll - os=4.0 img=1.0 sys=4.0 > "cygpng2.dll" v0.0 ts=2001/5/6 4:05 > 108k 2001/06/28 G:\CYGWIN\BIN\cygreadline4.dll - os=4.0 img=1.0 > sys=4.0 > "cygreadline4.dll" v0.0 ts=2001/1/7 4:34 > 135k 2001/06/28 G:\CYGWIN\BIN\cygreadline5.dll - os=4.0 img=1.0 > sys=4.0 > "cygreadline5.dll" v0.0 ts=2001/6/28 2:27 > 66k 2001/11/20 G:\CYGWIN\BIN\cygregex.dll - os=4.0 img=1.0 sys=4.0 > "cygregex.dll" v0.0 ts=2001/11/20 14:44 > 231k 2001/11/19 G:\CYGWIN\BIN\cygssl.dll - os=4.0 img=1.0 sys=4.0 > "cygssl.dll" v0.0 ts=2001/11/19 23:42 > 390k 2001/10/20 G:\CYGWIN\BIN\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 > "cygtcl80.dll" v0.0 ts=2001/10/20 0:24 > 5k 2001/10/20 G:\CYGWIN\BIN\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 > > 10k 2001/10/20 G:\CYGWIN\BIN\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 > > "cygtclreg80.dll" v0.0 ts=2001/10/20 0:24 > 245k 2001/06/12 G:\CYGWIN\BIN\cygtiff3.dll - os=4.0 img=1.0 sys=4.0 > "cygtiff3.dll" v0.0 ts=2001/6/12 17:25 > 623k 2001/10/20 G:\CYGWIN\BIN\cygtk80.dll - os=4.0 img=1.0 sys=4.0 > "cygtk80.dll" v0.0 ts=2001/10/20 0:25 > 41k 2001/07/04 G:\CYGWIN\BIN\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0 > > "cygXpm-noX4.dll" v0.0 ts=2001/7/4 1:21 > 45k 2001/07/04 G:\CYGWIN\BIN\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0 > "cygXpm-X4.dll" v0.0 ts=2000/11/20 2:45 > 49k 2001/02/03 G:\CYGWIN\BIN\cygz.dll - os=4.0 img=1.0 sys=4.0 > "cygz.dll" v0.0 ts=2001/2/3 20:35 > 720k 2001/12/08 G:\CYGWIN\BIN\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2001/12/8 22:02 > Cygwin DLL version info: > DLL version: 1.3.6 > DLL epoch: 19 > DLL bad signal mask: 19005 > DLL old termios: 5 > DLL malloc env: 28 > API major: 0 > API minor: 47 > Shared data: 3 > 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: Sat Dec 8 17:02:30 EST 2001 > CVS tag: cygwin-1-3-6-6 > Shared id: cygwin1S3 > > > Cygwin Package Information > No setup information found > > Use -h to see help about each section > > > Pavel Tsekov ha escrito: > > > I'm out of ideas :( Have you tried chmod-ing from the bash shell ? > > Can you post the output of "cygcheck -r -s -v" ? > > > > JOSE (GRI) wrote: > > > > >>What is your file systemfilesystem - NTFS or FAT ? > > >> > > > > > > NTFS > > > > > > > > > > > >>Can you attach an > > >>output of sample session in which you cant change the file > > >>permissions ? > > >> > > > > > > C:\> ls -l a.txt > > > -rwxr-xr-x 1 jose Administ 7 Dec 31 09:48 a.txt > > > > > > C:\>chmod 777 a.txt > > > chmod: changing permissions of `a.txt': Permission denied > > > > > > > > > > > > -- > > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > Bug reporting: http://cygwin.com/bugs.html > > > Documentation: http://cygwin.com/docs.html > > > FAQ: http://cygwin.com/faq/ > > > > > > > > > > > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/