public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 1.5.16-1: chmod problem
@ 2005-04-28 13:42 Pach Roman (GS-EC/ESA4) *
  2005-04-28 19:17 ` Corinna Vinschen
  2005-04-29 11:16 ` Corinna Vinschen
  0 siblings, 2 replies; 10+ messages in thread
From: Pach Roman (GS-EC/ESA4) * @ 2005-04-28 13:42 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

Hello,
the following commands run properly on the c:/drive
 
c> touch yahoo
c> ls -l yahoo
   -rw-rw-rw-  1 ropach mkpasswd 0 Apr 28 13:54 yahoo
 
c> chmod -w yahoo
c> ls -l yahoo
   -r--r--r--  1 ropach mkpasswd 0 Apr 28 13:54 yahoo
 
but if I try it on the u:/ drive connected over net the following error comes

u> ls -l yahoo
   -rw-r--r--  1 ropach mkpasswd 0 Apr 28 13:50 yahoo
u> chmod -w yahoo
   chmod: changing permissions of `yahoo': Permission denied

There were no problems up to the version cygwin-1.5.13-1.
The error on my machine is new for the following two versions
  cygwin-1.5.15-1
  cygwin-1.5.16-1

The output of the 'env':
 
The output of the 'cygcheck -v -s -r ':
 
Has anybody any ideas ?
 <<env.txt>>  <<cygcheck.txt>> 

[-- Attachment #2: env.txt --]
[-- Type: text/plain, Size: 1900 bytes --]

PC_SP_MAJORVER=3
HOMEPATH=\
APPDATA=C:\Documents and Settings\ropach\Application Data
HOSTNAME=si20624
PC_OS=w2k
TERM=cygwin
PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping 3, GenuineIntel
WINDIR=C:\WINNT
PC_OS_MINORVER=0
CVSROOT=/cygdrive/u/ablage
DOXYGEN_TEMPLATES=/usr/share/doxygen
OLDPWD=/cygdrive/u
USERDOMAIN=DE
OS=Windows_NT
ALLUSERSPROFILE=C:\Documents and Settings\All Users
OS2LIBPATH=C:\WINNT\system32\os2\dll;
USER=ropach
COPYCMD=/Y
TEMP=/c/DOCUME~1/ropach/LOCALS~1/Temp
COMMONPROGRAMFILES=C:\Program Files\Common Files
DOXYGEN_PATH=/usr/bin
USERNAME=ropach
PROCESSOR_LEVEL=6
PATH=.:/bin:/usr/bin:/usr/local/bin:/c/orant/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/Program Files/perl/bin:/c/WINNT/qi:/bin/:/usr/bin:/usr/local/bin:.:/c/Program Files/it_sec/iT_SEC_Shared:/c/PROGRA~1/ATT/Graphviz/bin:/c/PROGRA~1/ATT/Graphviz/bin/tools:/usr/X11R6/bin:/usr/X11R6/lib:/usr/local/graphviz/bin
PCUNIX_ROOT=c:\unix
PWD=/c
SYSTEMDRIVE=C:
LTDL_LIBRARY_PATH=/usr/lib
EDITOR=/bin/emacs.sh
CYGWIN=textmode
USERPROFILE=C:\Documents and Settings\ropach
PERLLIB=/usr/local/lib/perl5/5.6.1/cygwin:/usr/local/lib/perl5/5.6.1:/usr/local/lib/perl5/site_perl/5.6.1/cygwin:/usr/local/lib/perl5/site_perl
LOGONSERVER=\\SI42029
PROCESSOR_ARCHITECTURE=x86
LM_LICENSE_FILE=n:/programme/sds/diablicense/license.dat
LESSCHARSET=latin1
SHLVL=1
HOME=/cygdrive/u
USERDNSDOMAIN=de.bosch.com
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
HOMEDRIVE=U:
RCSINIT=-x,v/
COMSPEC=C:\WINNT\system32\cmd.exe
TMP=/c/DOCUME~1/ropach/LOCALS~1/Temp
SYSTEMROOT=C:\WINNT
PRINTER=//si26001/si18179
PROCESSOR_REVISION=0703
PC_OS_MAJORVER=5
PATH_SET=true
MAKE_MODE=UNIX
PROGRAMFILES=C:\Program Files
HOMESHARE=\\siz1128\ROPACH$
NUMBER_OF_PROCESSORS=1
LM_LICENSE=n:/programme/sds/diablicense/license.dat
COMPUTERNAME=SI20624
PC_NTPROD=wks
_=/usr/bin/env

[-- Attachment #3: cygcheck.txt --]
[-- Type: text/plain, Size: 25518 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Thu Apr 28 14:22:55 2005

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:	.\
	c:\unix\bin
	c:\unix\usr\bin
	c:\unix\usr\local\bin
	c:\orant\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	c:\Program Files\perl\bin
	c:\WINNT\qi
	c:\unix\bin\
	c:\unix\usr\bin
	c:\unix\usr\local\bin
	.\
	c:\Program Files\it_sec\iT_SEC_Shared
	c:\PROGRA~1\ATT\Graphviz\bin
	c:\PROGRA~1\ATT\Graphviz\bin\tools
	c:\unix\usr\X11R6\bin
	c:\unix\usr\X11R6\lib
	c:\unix\usr\local\graphviz\bin

Output from c:\unix\bin\id.exe (nontsec)
UID: 400(ropach)    GID: 401(mkpasswd)
544(Administrators) 547(Power Users)    545(Users)          401(mkpasswd)

Output from c:\unix\bin\id.exe (ntsec)
UID: 400(ropach)    GID: 401(mkpasswd)
544(Administrators) 547(Power Users)    545(Users)          401(mkpasswd)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

CYGWIN = `textmode'
HOME = `u:\'
MAKE_MODE = `UNIX'
PWD = `/c'
USER = `ropach'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\ropach\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `SI20624'
COMSPEC = `C:\WINNT\system32\cmd.exe'
COPYCMD = `/Y'
CVSROOT = `/cygdrive/u/ablage'
DOXYGEN_PATH = `/usr/bin'
DOXYGEN_TEMPLATES = `/usr/share/doxygen'
EDITOR = `/bin/emacs.sh'
HOMEDRIVE = `U:'
HOMEPATH = `\'
HOMESHARE = `\\siz1128\ROPACH$'
HOSTNAME = `si20624'
LESSCHARSET = `latin1'
LM_LICENSE = `n:/programme/sds/diablicense/license.dat'
LM_LICENSE_FILE = `n:/programme/sds/diablicense/license.dat'
LOGONSERVER = `\\SI42029'
LTDL_LIBRARY_PATH = `/usr/lib'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/cygdrive/u'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PATH_SET = `true'
PCUNIX_ROOT = `c:\unix'
PC_NTPROD = `wks'
PC_OS = `w2k'
PC_OS_MAJORVER = `5'
PC_OS_MINORVER = `0'
PC_SP_MAJORVER = `3'
PERLLIB = `/usr/local/lib/perl5/5.6.1/cygwin:/usr/local/lib/perl5/5.6.1:/usr/local/lib/perl5/site_perl/5.6.1/cygwin:/usr/local/lib/perl5/site_perl'
PRINTER = `//si26001/si18179'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0703'
PROGRAMFILES = `C:\Program Files'
RCSINIT = `-x,v/'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
USERDNSDOMAIN = `de.bosch.com'
USERDOMAIN = `DE'
USERNAME = `ropach'
USERPROFILE = `C:\Documents and Settings\ropach'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
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\Cygnus Support
HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `\\.\tape1:'
  unix = `/dev/st1'
  fmixed = 0x00000000
  fbinary = 0x00000000
  fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0\mounts\01
  (default) = `\\.\tape0:'
  unix = `/dev/st0'
  fmixed = 0x00000000
  fbinary = 0x00000000
  fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0\mounts\02
  (default) = `\\.\b:'
  unix = `/dev/fd1'
  fmixed = 0x00000000
  fbinary = 0x00000000
  fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0\mounts\03
  (default) = `\\.\a:'
  unix = `/dev/fd0'
  fmixed = 0x00000000
  fbinary = 0x00000000
  fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Support\CYGWIN.DLL setup\b15.0\mounts\04
  (default) = `c:'
  unix = `/'
  fmixed = 0x00000000
  fbinary = 0x00000000
  fsilent = 0x00000000
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\mounts v2\/
  (default) = `c:\unix'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `c:'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/c
  (default) = `c:'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cygdrive/u
  (default) = `u:'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/tmp
  (default) = `c:\tmp'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/u
  (default) = `u:'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
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  FAT          1Mb   8% CP    UN           DISC-1
b:  fd             N/A    N/A                    
c:  hd  NTFS     58641Mb  18% CP CS UN PA FC     System Volume
d:  cd             N/A    N/A                    
e:  net NTFS    138096Mb  70% CP CS UN PA FC     SI-FCCC_Y
g:  net            N/A    N/A                    
h:  net NTFS    138096Mb  70% CP CS UN PA FC     SI-FCCC_Y
i:  net NTFS    155361Mb  84% CP CS UN PA FC     SI-FCC6_I
k:  net NTFS      6934Mb  53% CP CS UN PA FC     PEACY Server Productive-NT
l:  net NTFS    138096Mb  70% CP CS UN PA FC     SI-FCCC_Y
n:  net NTFS     69043Mb  88% CP CS UN PA FC     SI-FCCC_F
o:  net NTFS    138096Mb  70% CP CS UN PA FC     SI-FCCC_Y
p:  net NTFS     69455Mb  37% CP CS UN PA FC     Drive G
s:  net            N/A    N/A                    
u:  net NTFS    155361Mb  68% CP CS UN PA FC     SI-FCCB_O
x:  net NTFS     69043Mb  88% CP CS UN PA FC     SI-FCCC_F
z:  net NTFS    155346Mb  87% CP CS UN PA FC     Si-FCC4_Y

c:\unix  /            system  binmode
c:       /c           system  textmode
c:       /cygdrive/c  system  textmode
u:       /cygdrive/u  system  textmode
c:\tmp   /tmp         system  textmode
u:       /u           system  textmode

Not Found: awk
Found: c:\unix\bin\bash.exe
Found: c:\unix\usr\bin\bash.exe
Warning: c:\unix\bin\bash.exe hides c:\unix\usr\bin\bash.exe
Found: c:\unix\usr\bin\cat.exe
Found: c:\unix\usr\bin\cp.exe
Found: c:\unix\usr\bin\cpp.exe
Found: c:\unix\bin\find.exe
Found: c:\unix\usr\bin\gcc.exe
Found: c:\unix\usr\bin\gdb.exe
Found: c:\unix\usr\bin\grep.exe
Found: c:\unix\usr\bin\ld.exe
Found: c:\unix\usr\bin\ls.exe
Found: c:\unix\usr\bin\make.exe
Found: c:\unix\usr\bin\mv.exe
Found: c:\unix\usr\bin\rm.exe
Found: c:\unix\usr\bin\sed.exe
Found: c:\unix\bin\sh.exe
Found: c:\unix\usr\bin\tar.exe

   56k 2002/03/20 c:\unix\usr\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/21 0:53
   14k 2003/08/10 c:\unix\usr\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2003/8/10 22:57
  621k 2002/03/20 c:\unix\usr\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2002/1/16 10:54
   28k 2003/08/11 c:\unix\usr\bin\cygcygipc-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcygipc-2.dll" v0.0 ts=2003/8/11 2:54
  978k 2002/10/04 c:\unix\usr\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2002/10/4 15:07
  129k 2004/03/11 c:\unix\usr\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontconfig-1.dll" v0.0 ts=2004/3/11 1:12
   35k 2002/01/09 c:\unix\usr\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 7:03
   48k 2003/08/09 c:\unix\usr\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 11:25
  361k 2003/10/25 c:\unix\usr\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-6.dll" v0.0 ts=2003/10/22 6:18
   69k 2003/08/10 c:\unix\usr\bin\cyggettextlib-0-12-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextlib-0-12-1.dll" v0.0 ts=2003/8/11 0:10
  107k 2004/07/06 c:\unix\usr\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/6 19:56
   17k 2004/07/06 c:\unix\usr\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextpo-0.dll" v0.0 ts=2004/7/6 19:56
  134k 2003/08/10 c:\unix\usr\bin\cyggettextsrc-0-12-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextsrc-0-12-1.dll" v0.0 ts=2003/8/11 0:10
  190k 2004/07/06 c:\unix\usr\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/6 19:56
  489k 2003/08/09 c:\unix\usr\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-12.dll" v0.0 ts=2003/8/9 16:17
  489k 2003/07/28 c:\unix\usr\bin\cygguile-12abi13.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-12abi13.dll" v0.0 ts=2003/7/28 20:18
   24k 2003/08/09 c:\unix\usr\bin\cygguile-ltdl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-ltdl-1.dll" v0.0 ts=2003/8/9 16:16
   24k 2003/07/28 c:\unix\usr\bin\cygguile-ltdl-1abi13.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-ltdl-1abi13.dll" v0.0 ts=2003/7/28 19:48
   62k 2003/08/09 c:\unix\usr\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 ts=2003/8/9 16:17
   62k 2003/07/28 c:\unix\usr\bin\cygguile-srfi-srfi-13-14-v-1-1abi13.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-13-14-v-1-1abi13.dll" v0.0 ts=2003/7/28 20:18
   23k 2003/08/09 c:\unix\usr\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=2003/8/9 16:17
   23k 2003/07/28 c:\unix\usr\bin\cygguile-srfi-srfi-4-v-1-1abi13.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-4-v-1-1abi13.dll" v0.0 ts=2003/7/28 20:18
   11k 2003/08/09 c:\unix\usr\bin\cygguilereadline-v-12-12.dll - os=4.0 img=1.0 sys=4.0
                  "cygguilereadline-v-12-12.dll" v0.0 ts=2003/8/9 16:17
   11k 2003/07/28 c:\unix\usr\bin\cygguilereadline-v-12-12abi13.dll - os=4.0 img=1.0 sys=4.0
                  "cygguilereadline-v-12-12abi13.dll" v0.0 ts=2003/7/28 20:18
   20k 2002/07/12 c:\unix\usr\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/7/12 7:31
  958k 2003/08/10 c:\unix\usr\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2003/8/10 22:57
   22k 2001/12/13 c:\unix\usr\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 10:28
   37k 2003/08/10 c:\unix\usr\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 23:50
   54k 2004/07/06 c:\unix\usr\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2004/7/6 19:51
   21k 2001/06/20 c:\unix\usr\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 19:09
   81k 2002/03/20 c:\unix\usr\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2001/4/29 0:57
   35k 2002/03/20 c:\unix\usr\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2001/4/29 0:57
  132k 2003/08/11 c:\unix\usr\bin\cygjpeg-62.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg-62.dll" v0.0 ts=2003/8/11 2:37
  119k 2002/02/09 c:\unix\usr\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/9 6:19
  780k 2002/10/15 c:\unix\usr\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2002/10/15 7:40
   20k 2002/01/09 c:\unix\usr\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 7:03
   29k 2003/08/09 c:\unix\usr\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 11:25
  175k 2002/01/09 c:\unix\usr\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
  202k 2002/01/09 c:\unix\usr\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 7:03
  224k 2003/08/09 c:\unix\usr\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 11:24
   12k 2002/01/09 c:\unix\usr\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 7:03
   19k 2003/08/09 c:\unix\usr\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 11:24
  175k 2002/07/04 c:\unix\usr\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2002/7/4 6:44
  170k 2002/07/04 c:\unix\usr\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2002/7/4 7:02
  121k 2002/07/12 c:\unix\usr\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/7/12 7:31
  156k 2002/03/20 c:\unix\usr\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2002/1/16 10:54
  390k 2002/03/20 c:\unix\usr\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2001/4/29 0:56
  491k 2002/08/05 c:\unix\usr\bin\cygtcl83.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl83.dll" v0.0 ts=2002/4/11 23:17
    5k 2002/03/20 c:\unix\usr\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
    5k 2002/08/05 c:\unix\usr\bin\cygtclpip83.dll - os=4.0 img=1.0 sys=4.0
   10k 2002/03/20 c:\unix\usr\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2001/4/29 0:56
  990k 2002/07/04 c:\unix\usr\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2002/7/4 14:41
  282k 2003/08/11 c:\unix\usr\bin\cygtiff4.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff4.dll" v0.0 ts=2003/8/11 4:32
  201k 2002/08/05 c:\unix\usr\bin\cygtix4183.dll - os=4.0 img=1.0 sys=4.0
                  "cygtix4183.dll" v0.0 ts=2002/4/11 23:20
  623k 2002/03/20 c:\unix\usr\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2001/4/29 0:57
  762k 2002/08/05 c:\unix\usr\bin\cygtk83.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk83.dll" v0.0 ts=2002/4/11 23:18
   27k 2004/03/05 c:\unix\usr\bin\cygungif-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygungif-4.dll" v0.0 ts=2004/3/5 23:06
   49k 2002/03/20 c:\unix\usr\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/3 21:35
 1163k 2005/04/26 c:\unix\usr\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2005/4/26 2:26
    Cygwin DLL version info:
        DLL version: 1.5.16
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 128
        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 Apr 25 20:26:35 EDT 2005
        Shared id: cygwin1S4

  237k 2004/04/10 c:\unix\usr\X11R6\bin\cygdps-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdps-1.dll" v0.0 ts=2004/4/10 1:25
   25k 2004/04/10 c:\unix\usr\X11R6\bin\cygdpstk-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdpstk-1.dll" v0.0 ts=2004/4/10 1:25
   21k 2004/04/10 c:\unix\usr\X11R6\bin\cygfontenc-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontenc-1.dll" v0.0 ts=2004/4/10 1:27
   36k 2004/04/10 c:\unix\usr\X11R6\bin\cygFS-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygFS-6.dll" v0.0 ts=2004/4/10 1:20
  431k 2004/04/10 c:\unix\usr\X11R6\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGL-1.dll" v0.0 ts=2004/4/10 1:24
  437k 2004/04/10 c:\unix\usr\X11R6\bin\cygGLU-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGLU-1.dll" v0.0 ts=2004/4/10 1:25
   74k 2004/04/10 c:\unix\usr\X11R6\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygICE-6.dll" v0.0 ts=2004/4/10 1:17
    9k 2004/04/10 c:\unix\usr\X11R6\bin\cygoldX-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygoldX-6.dll" v0.0 ts=2004/4/10 1:17
 1250k 2004/04/10 c:\unix\usr\X11R6\bin\cygOSMesa-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygOSMesa-4.dll" v0.0 ts=2004/4/10 1:24
   20k 2004/04/10 c:\unix\usr\X11R6\bin\cygpsres-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpsres-1.dll" v0.0 ts=2004/4/10 1:25
   30k 2004/04/10 c:\unix\usr\X11R6\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygSM-6.dll" v0.0 ts=2004/4/10 1:17
  869k 2004/04/10 c:\unix\usr\X11R6\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygX11-6.dll" v0.0 ts=2004/4/10 1:17
  253k 2004/04/10 c:\unix\usr\X11R6\bin\cygXaw-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-6.dll" v0.0 ts=2004/4/10 1:19
  355k 2004/04/10 c:\unix\usr\X11R6\bin\cygXaw-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-7.dll" v0.0 ts=2004/4/10 1:20
  275k 2004/01/13 c:\unix\usr\X11R6\bin\cygXaw3d-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw3d-7.dll" v0.0 ts=2004/1/13 23:17
   30k 2004/04/10 c:\unix\usr\X11R6\bin\cygXcursor-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXcursor-1.dll" v0.0 ts=2004/4/10 1:26
   49k 2004/04/10 c:\unix\usr\X11R6\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXext-6.dll" v0.0 ts=2004/4/10 1:17
    7k 2004/04/10 c:\unix\usr\X11R6\bin\cygXfontcache-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXfontcache-1.dll" v0.0 ts=2004/4/10 1:27
   56k 2004/03/11 c:\unix\usr\X11R6\bin\cygXft-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-1.dll" v0.0 ts=2003/11/18 2:42
   63k 2004/03/23 c:\unix\usr\X11R6\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-2.dll" v0.0 ts=2004/3/23 23:20
   27k 2004/04/10 c:\unix\usr\X11R6\bin\cygXi-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXi-6.dll" v0.0 ts=2004/4/10 1:20
  124k 2004/04/10 c:\unix\usr\X11R6\bin\cygxkbfile-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbfile-1.dll" v0.0 ts=2004/4/10 1:20
   12k 2004/04/10 c:\unix\usr\X11R6\bin\cygxkbui-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbui-1.dll" v0.0 ts=2004/4/10 1:21
   76k 2004/04/10 c:\unix\usr\X11R6\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmu-6.dll" v0.0 ts=2004/4/10 1:18
   11k 2004/04/10 c:\unix\usr\X11R6\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmuu-1.dll" v0.0 ts=2004/4/10 1:18
   26k 2004/04/10 c:\unix\usr\X11R6\bin\cygXp-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXp-6.dll" v0.0 ts=2004/4/10 1:21
   51k 2004/04/10 c:\unix\usr\X11R6\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-4.dll" v0.0 ts=2004/4/10 1:19
   11k 2004/04/10 c:\unix\usr\X11R6\bin\cygXrandr-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrandr-2.dll" v0.0 ts=2004/4/10 1:26
   27k 2004/04/10 c:\unix\usr\X11R6\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrender-1.dll" v0.0 ts=2004/4/10 1:25
    8k 2004/04/10 c:\unix\usr\X11R6\bin\cygXRes-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXRes-1.dll" v0.0 ts=2004/4/10 1:26
  282k 2004/04/10 c:\unix\usr\X11R6\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXt-6.dll" v0.0 ts=2004/4/10 1:18
   27k 2004/04/10 c:\unix\usr\X11R6\bin\cygXTrap-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXTrap-6.dll" v0.0 ts=2004/4/10 1:26
   17k 2004/04/10 c:\unix\usr\X11R6\bin\cygXtst-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXtst-6.dll" v0.0 ts=2004/4/10 1:20

Cygwin Package Information
No setup information found
Use -h to see help about each section

[-- Attachment #4: Type: text/plain, Size: 218 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 1.5.16-1: chmod problem
  2005-04-28 13:42 1.5.16-1: chmod problem Pach Roman (GS-EC/ESA4) *
@ 2005-04-28 19:17 ` Corinna Vinschen
  2005-04-29 11:16 ` Corinna Vinschen
  1 sibling, 0 replies; 10+ messages in thread
From: Corinna Vinschen @ 2005-04-28 19:17 UTC (permalink / raw)
  To: cygwin

On Apr 28 14:40, Pach Roman (GS-EC/ESA4) * wrote:
> Hello,
> the following commands run properly on the c:/drive
>  
> c> touch yahoo
> c> ls -l yahoo
>    -rw-rw-rw-  1 ropach mkpasswd 0 Apr 28 13:54 yahoo
>  
> c> chmod -w yahoo
> c> ls -l yahoo
>    -r--r--r--  1 ropach mkpasswd 0 Apr 28 13:54 yahoo
>  
> but if I try it on the u:/ drive connected over net the following error comes
> 
> u> ls -l yahoo
>    -rw-r--r--  1 ropach mkpasswd 0 Apr 28 13:50 yahoo
> u> chmod -w yahoo
>    chmod: changing permissions of `yahoo': Permission denied
> 
> There were no problems up to the version cygwin-1.5.13-1.
> The error on my machine is new for the following two versions
>   cygwin-1.5.15-1
>   cygwin-1.5.16-1

Did you verify that the permissions of the share is set to allow write
access?  If the machine which exports the share you're connecting to is
a XP or 2K3 machine, then the default shareing permissions are set to
read only.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 1.5.16-1: chmod problem
  2005-04-28 13:42 1.5.16-1: chmod problem Pach Roman (GS-EC/ESA4) *
  2005-04-28 19:17 ` Corinna Vinschen
@ 2005-04-29 11:16 ` Corinna Vinschen
  2005-04-29 11:42   ` Dave Korn
  1 sibling, 1 reply; 10+ messages in thread
From: Corinna Vinschen @ 2005-04-29 11:16 UTC (permalink / raw)
  To: cygwin

On Apr 28 14:40, Pach Roman (GS-EC/ESA4) * wrote:
> Hello,
> the following commands run properly on the c:/drive
>  
> c> touch yahoo
> c> ls -l yahoo
>    -rw-rw-rw-  1 ropach mkpasswd 0 Apr 28 13:54 yahoo
>  
> c> chmod -w yahoo
> c> ls -l yahoo
>    -r--r--r--  1 ropach mkpasswd 0 Apr 28 13:54 yahoo
>  
> but if I try it on the u:/ drive connected over net the following error comes
> 
> u> ls -l yahoo
>    -rw-r--r--  1 ropach mkpasswd 0 Apr 28 13:50 yahoo
> u> chmod -w yahoo
>    chmod: changing permissions of `yahoo': Permission denied
> 
> There were no problems up to the version cygwin-1.5.13-1.
> The error on my machine is new for the following two versions
>   cygwin-1.5.15-1
>   cygwin-1.5.16-1

I can't reproduce your problem.  I tried to setup my environment similary,
but it works fine for me.  I guess we need you to examine the situation
further and, if nothing helps, strace output of this chmod.


However, a few hints to your settings:

> Output from c:\unix\bin\id.exe (nontsec)
> UID: 400(ropach)    GID: 401(mkpasswd)
> 544(Administrators) 547(Power Users)    545(Users)          401(mkpasswd)
> 
> Output from c:\unix\bin\id.exe (ntsec)
> UID: 400(ropach)    GID: 401(mkpasswd)
> 544(Administrators) 547(Power Users)    545(Users)          401(mkpasswd)

You don't have /etc/passwd nor /etc/group set up correctly.
Use mkpasswd/mkgroup.

> CYGWIN = `textmode'

Urgh, you're a masochist, apparently.

> HOME = `u:\'

Don't do this.  $HOME is not used by Windows, only by Cygwin.  Set it to
a POSIX path (e.g. '/cygdrive/u'), not a Win32 path.  Or let Cygwin do it
by itself.

> TEMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
> TERM = `cygwin'
> TMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'

TMP should probably better be a POSIX path, too.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: 1.5.16-1: chmod problem
  2005-04-29 11:16 ` Corinna Vinschen
@ 2005-04-29 11:42   ` Dave Korn
  0 siblings, 0 replies; 10+ messages in thread
From: Dave Korn @ 2005-04-29 11:42 UTC (permalink / raw)
  To: cygwin

----Original Message----
>From: Corinna Vinschen
>Sent: 29 April 2005 11:36

> On Apr 28 14:40, Pach Roman (GS-EC/ESA4) * wrote:
>> TEMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
>> TERM = `cygwin'
>> TMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
> 
> TMP should probably better be a POSIX path, too.

  AYS?  It seems that not a lot of people know that:
 
http://www.google.co.uk/search?q=%22Cygwin+Configuration+Diagnostics%22+TMP%
3D+site:cygwin.com&hl=en&lr=&client=firefox-a&rls=org.mozilla:en-US:official
&start=20&sa=N&filter=0

  Heh.  Actually, it's because cygcheck, being a win32 program and not
linking against cygwin1.dll, always reports on the win32 environment.  But
in cygwin apps, doesn't the automatic conversion that goes on in
environ.cc/environ_init->posify->getwinenv just take care of it?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 1.5.16-1: chmod problem
  2005-05-04  4:53 Pach Roman (GS-EC/ESA4) *
  2005-05-04  9:05 ` Corinna Vinschen
@ 2005-05-05 13:08 ` Eric Blake
  1 sibling, 0 replies; 10+ messages in thread
From: Eric Blake @ 2005-05-05 13:08 UTC (permalink / raw)
  To: Pach Roman (GS-EC/ESA4) *; +Cc: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Pach Roman (GS-EC/ESA4) * on 5/3/2005 10:53 PM:
> I admit I'm stubborn about this topic but I'd like to propose 
> the change of chmod implementation.
> I thing, it would be nice if the 'chmod +/-w' would have in the discussed case the same
> functionality as the Windows' command 'attrib'.

It isn't going to happen at the coreutils level on chmod(1).  POSIX
requires that `chmod -- -w file' be valid (-w is treated as the mode
argument, not an option), and that it remove only those write permissions
which would be granted by creat() given the current umask, making it
behave differently than `chmod a-w file' which removes all write
permissions.  But there was a discussion on the bug-coreutils list just
this week (see
http://comments.gmane.org/gmane.comp.gnu.coreutils.bugs/4171, since
lists.gnu.org is still down following the FSF office move) how POSIX
allows `chmod -w file' or `chmod -w -- file' as an extension (here, -w is
an option, and POSIX only specifies the -R option), and in CVS, it was
just changed so that `chmod -w file' will do what `chmod -- -w file' is
required to do, but print a warning if that action is different than what
`chmod a-w file' would do.  So, even though we could define whatever
behavior we wanted for the -w option to chmod, I am not going to define it
differently for cygwin that what upstream has defined it to be, based on
what POSIX defines.

That's not to say that Corinna's changes to chmod(2) might affect your
situation, so do give the latest cygwin snapshot a try.  And meanwhile, if
Windows attrib has the semantics you want, then use Windows attrib.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCehqM84KuGfSFAYARAtXmAKC/36Pxs4ttcNkqEzy0s4UmZdEX9QCfY9dC
4I3CovmDn11kiB99fQ9rITw=
=HDIy
-----END PGP SIGNATURE-----

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 1.5.16-1: chmod problem
  2005-05-04  4:53 Pach Roman (GS-EC/ESA4) *
@ 2005-05-04  9:05 ` Corinna Vinschen
  2005-05-05 13:08 ` Eric Blake
  1 sibling, 0 replies; 10+ messages in thread
From: Corinna Vinschen @ 2005-05-04  9:05 UTC (permalink / raw)
  To: cygwin

On May  4 06:53, Pach Roman (GS-EC/ESA4) * wrote:
> I admit I'm stubborn about this topic but I'd like to propose 
> the change of chmod implementation.
> I thing, it would be nice if the 'chmod +/-w' would have in the discussed case the same
> functionality as the Windows' command 'attrib'.
> See please the appended screenshot.

Try the latest snapshot from http://www.cygwin.com/snapshots/.
I've tried to workaround a bug in chmod since it was originally meant
to work the way you suggest.  However, if you don't have the 
"write attribute" permission set in the file's ACL, you're out of luck.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 1.5.16-1: chmod problem
@ 2005-05-04  4:53 Pach Roman (GS-EC/ESA4) *
  2005-05-04  9:05 ` Corinna Vinschen
  2005-05-05 13:08 ` Eric Blake
  0 siblings, 2 replies; 10+ messages in thread
From: Pach Roman (GS-EC/ESA4) * @ 2005-05-04  4:53 UTC (permalink / raw)
  To: cygwin

I admit I'm stubborn about this topic but I'd like to propose 
the change of chmod implementation.
I thing, it would be nice if the 'chmod +/-w' would have in the discussed case the same
functionality as the Windows' command 'attrib'.
See please the appended screenshot.

U:\tmp>ls -l yahoo
-rw-r--r--  1 ropach mkpasswd 5 Apr 29 07:35 yahoo

U:\tmp>attrib +r yahoo
U:\tmp>ls -l yahoo
-r--r--r--  1 ropach mkpasswd 5 Apr 29 07:35 yahoo

U:\tmp>attrib -r yahoo
U:\tmp>ls -l yahoo
-rw-r--r--  1 ropach mkpasswd 5 Apr 29 07:35 yahoo

U:\tmp>chmod -w yahoo
chmod: changing permissions of `yahoo': Permission denied
U:\tmp>ls -l yahoo
-rw-r--r--  1 ropach mkpasswd 5 Apr 29 07:35 yahoo

U:\tmp>chmod +w yahoo
chmod: changing permissions of `yahoo': Permission denied
U:\tmp>ls -l yahoo
-rw-r--r--  1 ropach mkpasswd 5 Apr 29 07:35 yahoo

Roman

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 1.5.16-1: chmod problem
  2005-05-02  5:41 AW: " Pach Roman (GS-EC/ESA4) *
@ 2005-05-02 14:02 ` Corinna Vinschen
  0 siblings, 0 replies; 10+ messages in thread
From: Corinna Vinschen @ 2005-05-02 14:02 UTC (permalink / raw)
  To: cygwin

On May  2 07:41, Pach Roman (GS-EC/ESA4) * wrote:
> Hello,
> I have tried now using strace.
> The file strace.14 has been generated for cygwin-1.5.14-1, and strace.15 for cygwin-1.5.15-1.
> 
> The command used was:
> > strace chmod +w /u/tmp/yahoo > /tmp/strace.15 2>&1
> 
> The concerned part from strace.14:
>    ...
>   3310  116505 [main] chmod 1448 set_process_privilege: 0 = set_process_privilege (SeRestorePrivilege, 1)
>    244  116749 [main] chmod 1448 set_file_attribute: 0 = set_file_attribute (u:\tmp\yahoo, -1, -1, 0x124)
>  10376  127125 [main] chmod 1448 chmod: 0 = chmod (/u/tmp/yahoo, 0x124)
>    699  127824 [main] chmod 1448 chdir: dir '/c'
>    ...
> 
> And the same from strace.15
>    ...
>    199 5004896 [main] chmod 1436 fhandler_base::open: (u:\tmp\yahoo, 0x110000)
>   1441 5006337 [main] chmod 1436 seterrno_from_win_error: /netrel/src/cygwin-1.5.15-1/winsup/cygwin/fhandler.cc:668 windows error 5
>    216 5006553 [main] chmod 1436 geterrno_from_win_error: windows error 5 == errno 13
>    186 5006739 [main] chmod 1436 fhandler_base::open: C0000022 = NtCreateFile (0x0, E0100, u:\tmp\yahoo, io, NULL, 0, 7, 1, 4400, NULL, 0)
>    187 5006926 [main] chmod 1436 fhandler_base::open: 0 = fhandler_base::open (u:\tmp\yahoo, 0x110000)
>    181 5007107 [main] chmod 1436 fhandler_base::open_fs: 0 = fhandler_disk_file::open (u:\tmp\yahoo, 0x10000)
>    185 5007292 [main] chmod 1436 chmod: -1 = chmod (/u/tmp/yahoo, 0x1B6)
>   1226 5008518 [main] chmod 1436 open: open (/usr/share/locale/locale.alias, 0x0)
>    ...
> 
> The first thing I can see is that 'fhandler_base::open:' returns with the 'windows error 5'
> Is that the reason for chmod to fail later?

Yes.  Opening the file fails with "access denied" and then chmod has
no file handle to work with.

I'm sorry but I tried with 1.5.15 and 1.5.16 and I couldn't find a
situation in which this happens for me.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 1.5.16-1: chmod problem
  2005-04-29 12:02 Jörg Schaible
@ 2005-04-29 12:05 ` Corinna Vinschen
  0 siblings, 0 replies; 10+ messages in thread
From: Corinna Vinschen @ 2005-04-29 12:05 UTC (permalink / raw)
  To: cygwin

On Apr 29 13:15, J?rg Schaible wrote:
> Corinna Vinschen wrote on Friday, April 29, 2005 12:36 PM:
> [snip]
> >> TEMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
> >> TERM = `cygwin'
> >> TMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
> > 
> > TMP should probably better be a POSIX path, too.
> 
> Well, it's autoconverted:
> 
>  $ env | grep TMP
>  TMP=/mnt/c/DOKUME~1/jos/LOKALE~1/Temp
> 
>  $ cygcheck -v -s -r | grep TMP
>  TMP = `c:\DOKUME~1\jos\LOKALE~1\Temp'

I stand corrected.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: 1.5.16-1: chmod problem
@ 2005-04-29 12:02 Jörg Schaible
  2005-04-29 12:05 ` Corinna Vinschen
  0 siblings, 1 reply; 10+ messages in thread
From: Jörg Schaible @ 2005-04-29 12:02 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote on Friday, April 29, 2005 12:36 PM:
[snip]
>> TEMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
>> TERM = `cygwin'
>> TMP = `C:\DOCUME~1\ropach\LOCALS~1\Temp'
> 
> TMP should probably better be a POSIX path, too.

Well, it's autoconverted:

 $ env | grep TMP
 TMP=/mnt/c/DOKUME~1/jos/LOKALE~1/Temp

 $ cygcheck -v -s -r | grep TMP
 TMP = `c:\DOKUME~1\jos\LOKALE~1\Temp'

- Jörg

--
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/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-05-05 13:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28 13:42 1.5.16-1: chmod problem Pach Roman (GS-EC/ESA4) *
2005-04-28 19:17 ` Corinna Vinschen
2005-04-29 11:16 ` Corinna Vinschen
2005-04-29 11:42   ` Dave Korn
2005-04-29 12:02 Jörg Schaible
2005-04-29 12:05 ` Corinna Vinschen
2005-05-02  5:41 AW: " Pach Roman (GS-EC/ESA4) *
2005-05-02 14:02 ` Corinna Vinschen
2005-05-04  4:53 Pach Roman (GS-EC/ESA4) *
2005-05-04  9:05 ` Corinna Vinschen
2005-05-05 13:08 ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).