This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: Re: Newbie: How to get permissions working with 'ntsec']


Thanks, Corinna. The output was 36k so I've attached the file. I've also appended the shell script error message and stack trace dump.

Garry

On Mon, Jun 17, 2002 at 07:05:07PM +0100, Garry Heaton wrote:
> I've tried all these ntsec/ntea combinations but still have
> no permissions. Can anyone tell me how to get Cygwin working
> with standard UNIX file permissions? No-one seems to know how.

>> Apparently it works for most people otherwise we'd have way
>> more complains on this list.
>>
>> Anyway, please set the env. variable CYGWIN to 'ntsec', nothing else,
>> then login and be sure to be in a directory on an NTFS file system.
>> Mail the output of the following commands to the list:
>>
>> uname -a
>> echo $CYGWIN
>> cat /etc/passwd
>> cat /etc/group
>> id
>> mount
>> pwd
>> strace chmod 644 <AnyFile>
>>
>> Corinna

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

CYGWIN_NT-5.0 RAMCOM 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown

ntsec

everyone:*:0:0:::
system:*:18:18:::
admins:*:544:544::/home/root:
root::500:544::/home/root:/bin/bash
guest::501:546:::
pgarry::1000:547:Garry Heaton:/home/pgarry:/bin/bash
r::1004:545:U-RAMCOM\r:/home/r:/bin/bash

Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-343818398-1078145449-1060284298-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
uid=1000(pgarry) gid=547(Power Users) groups=0(Everyone),513(None),547(Power Users),545(Users)

C:\cyg\bin on /usr/bin type system (binmode)
C:\cyg\lib on /usr/lib type system (binmode)
C:\cyg on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
e: on /cygdrive/e type user (binmode,noumount)
/home/pgarry/txt
**********************************************
Program name: C:\cyg\bin\chmod.exe (276)
App version:  1001.8, api: 0.34
DLL version:  1003.10, api: 0.51
DLL build:    2002-02-25 11:14
OS version:   Windows NT-5.0
Date/Time:    2002-06-18 17:52:06
**********************************************
  556     990 [main] chmod 276 environ_init: 0xA010420: !C:=C:\cyg\bin
  110    1100 [main] chmod 276 environ_init: 0xA010438: ALLUSERSPROFILE=C:\Documents and Settings\All Users.WINNT
  103    1203 [main] chmod 276 environ_init: 0xA010478: APPDATA=C:\Documents and Settings\pgarry.RAMCOM\Application Data
  102    1305 [main] chmod 276 environ_init: 0xA0104C0: COMMONPROGRAMFILES=C:\Program Files\Common Files
  101    1406 [main] chmod 276 environ_init: 0xA0104F8: COMPUTERNAME=RAMCOM
  101    1507 [main] chmod 276 environ_init: 0xA010510: COMSPEC=C:\WINNT\system32\cmd.exe
  109    1616 [main] chmod 276 parse_options: ntsec 1
  104    1720 [main] chmod 276 parse_options: returning
   52    1772 [main] chmod 276 environ_init: 0xA010538: CYGWIN=ntsec
  101    1873 [main] chmod 276 environ_init: 0xA010560: DICTDIR=C:\cyg\usr\local\lib
  103    1976 [main] chmod 276 getwinenv: can't set native for HOME= since no environ yet
  110    2086 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cyg\home\pgarry, no-keep-rel, no-add-slash)
   64    2150 [main] chmod 276 normalize_win32_path: C:\cyg\home\pgarry = normalize_win32_path (C:\cyg\home\pgarry)
   68    2218 [main] chmod 276 mount_info::conv_to_posix_path: /home/pgarry = conv_to_posix_path (C:\cyg\home\pgarry)
  153    2371 [main] chmod 276 win_env::add_cache: posix /home/pgarry
   53    2424 [main] chmod 276 win_env::add_cache: native HOME=C:\cyg\home\pgarry
   55    2479 [main] chmod 276 posify: env var converted to HOME=/home/pgarry
  101    2580 [main] chmod 276 environ_init: 0xA0105A8: HOME=/home/pgarry
  101    2681 [main] chmod 276 environ_init: 0xA010588: HOMEDRIVE=C:
  102    2783 [main] chmod 276 environ_init: 0xA0106F0: HOMEPATH=\
  103    2886 [main] chmod 276 environ_init: 0xA010700: LOGONSERVER=\\RAMCOM
  103    2989 [main] chmod 276 environ_init: 0xA010720: LS_COLORS=no=00:fi=00:di=01;33:ln=01;36:pi=01;34:so=01;35:bd=44;33;01:cd=45;37;01:or=01;37;41:ex=00:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:
  114    3103 [main] chmod 276 environ_init: 0xA0108C8: MAKE_MODE=unix
  100    3203 [main] chmod 276 environ_init: 0xA0108E0: MANPATH=:/usr/ssl/man
  100    3303 [main] chmod 276 environ_init: 0xA010900: NUMBER_OF_PROCESSORS=1
  101    3404 [main] chmod 276 environ_init: 0xA010920: OLDPWD=/home/pgarry
  100    3504 [main] chmod 276 environ_init: 0xA010938: OS2LIBPATH=C:\WINNT\system32\os2\dll;
  100    3604 [main] chmod 276 environ_init: 0xA010968: OS=Windows_NT
  102    3706 [main] chmod 276 getwinenv: can't set native for PATH= since no environ yet
  106    3812 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cyg\usr\local\bin, keep-rel, no-add-slash)
  508    4320 [main] chmod 276 normalize_win32_path: C:\cyg\usr\local\bin = normalize_win32_path (C:\cyg\usr\local\bin)
   71    4391 [main] chmod 276 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cyg\usr\local\bin)
   59    4450 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cyg\bin, keep-rel, no-add-slash)
   55    4505 [main] chmod 276 normalize_win32_path: C:\cyg\bin = normalize_win32_path (C:\cyg\bin)
   55    4560 [main] chmod 276 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cyg\bin)
   54    4614 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cyg\bin, keep-rel, no-add-slash)
   53    4667 [main] chmod 276 normalize_win32_path: C:\cyg\bin = normalize_win32_path (C:\cyg\bin)
   53    4720 [main] chmod 276 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cyg\bin)
   54    4774 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Perl\bin\, keep-rel, add-slash)
   53    4827 [main] chmod 276 normalize_win32_path: c:\Perl\bin\ = normalize_win32_path (c:\Perl\bin\)
   56    4883 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/Perl/bin/ = conv_to_posix_path (c:\Perl\bin\)
   54    4937 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT\system32, keep-rel, no-add-slash)
   54    4991 [main] chmod 276 normalize_win32_path: c:\WINNT\system32 = normalize_win32_path (c:\WINNT\system32)
   54    5045 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/system32 = conv_to_posix_path (c:\WINNT\system32)
   54    5099 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT, keep-rel, no-add-slash)
   53    5152 [main] chmod 276 normalize_win32_path: c:\WINNT = normalize_win32_path (c:\WINNT)
   55    5207 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/WINNT = conv_to_posix_path (c:\WINNT)
   54    5261 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT\System32\Wbem, keep-rel, no-add-slash)
  105    5366 [main] chmod 276 normalize_win32_path: c:\WINNT\System32\Wbem = normalize_win32_path (c:\WINNT\System32\Wbem)
   56    5422 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/System32/Wbem = conv_to_posix_path (c:\WINNT\System32\Wbem)
   56    5478 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\Program Files\Resource Pro Kit\, keep-rel, add-slash)
   53    5531 [main] chmod 276 normalize_win32_path: c:\Program Files\Resource Pro Kit\ = normalize_win32_path (c:\Program Files\Resource Pro Kit\)
   56    5587 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Resource Pro Kit/ = conv_to_posix_path (c:\Program Files\Resource Pro Kit\)
   56    5643 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\emacs\bin, keep-rel, no-add-slash)
   53    5696 [main] chmod 276 normalize_win32_path: c:\emacs\bin = normalize_win32_path (c:\emacs\bin)
   54    5750 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/emacs/bin = conv_to_posix_path (c:\emacs\bin)
   55    5805 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\mysql\bin, keep-rel, no-add-slash)
   53    5858 [main] chmod 276 normalize_win32_path: c:\mysql\bin = normalize_win32_path (c:\mysql\bin)
   55    5913 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/mysql/bin = conv_to_posix_path (c:\mysql\bin)
   54    5967 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\util, keep-rel, no-add-slash)
   53    6020 [main] chmod 276 normalize_win32_path: c:\util = normalize_win32_path (c:\util)
   54    6074 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/util = conv_to_posix_path (c:\util)
   53    6127 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cyg\bin, keep-rel, no-add-slash)
   53    6180 [main] chmod 276 normalize_win32_path: C:\cyg\bin = normalize_win32_path (C:\cyg\bin)
   62    6242 [main] chmod 276 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cyg\bin)
   55    6297 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cyg\bin, keep-rel, no-add-slash)
   54    6351 [main] chmod 276 normalize_win32_path: C:\cyg\bin = normalize_win32_path (C:\cyg\bin)
   53    6404 [main] chmod 276 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cyg\bin)
   54    6458 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cyg\usr\local\bin, keep-rel, no-add-slash)
   54    6512 [main] chmod 276 normalize_win32_path: C:\cyg\usr\local\bin = normalize_win32_path (C:\cyg\usr\local\bin)
   54    6566 [main] chmod 276 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cyg\usr\local\bin)
  153    6719 [main] chmod 276 win_env::add_cache: posix /usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/Perl/bin/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Resource Pro Kit/:/cygdrive/c/emacs/bin:/cygdrive/c/mysql/bin:/cygdrive/c/util:/usr/bin:/usr/bin:/usr/local/bin
   56    6775 [main] chmod 276 win_env::add_cache: native PATH=C:\cyg\usr\local\bin;C:\cyg\bin;C:\cyg\bin;c:\Perl\bin\;c:\WINNT\system32;c:\WINNT;c:\WINNT\System32\Wbem;c:\Program Files\Resource Pro Kit\;c:\emacs\bin;c:\mysql\bin;c:\util;C:\cyg\bin;C:\cyg\bin;C:\cyg\usr\local\bin
   57    6832 [main] chmod 276 posify: env var converted to PATH=/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/Perl/bin/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Resource Pro Kit/:/cygdrive/c/emacs/bin:/cygdrive/c/mysql/bin:/cygdrive/c/util:/usr/bin:/usr/bin:/usr/local/bin
  105    6937 [main] chmod 276 environ_init: 0xA010A68: PATH=/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/Perl/bin/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Resource Pro Kit/:/cygdrive/c/emacs/bin:/cygdrive/c/mysql/bin:/cygdrive/c/util:/usr/bin:/usr/bin:/usr/local/bin
  109    7046 [main] chmod 276 environ_init: 0xA010980: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
  100    7146 [main] chmod 276 environ_init: 0xA0109C0: PROCESSOR_ARCHITECTURE=x86
  100    7246 [main] chmod 276 environ_init: 0xA0109E0: PROCESSOR_IDENTIFIER=x86 Family 6 Model 4 Stepping 2, AuthenticAMD
   99    7345 [main] chmod 276 environ_init: 0xA010A28: PROCESSOR_LEVEL=6
   99    7444 [main] chmod 276 environ_init: 0xA010A40: PROCESSOR_REVISION=0402
   99    7543 [main] chmod 276 environ_init: 0xA010E20: PROGRAMFILES=C:\Program Files
  100    7643 [main] chmod 276 environ_init: 0xA010E48: PROMPT=$P$G
   98    7741 [main] chmod 276 environ_init: 0xA010E58: PS1=\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ 
   99    7840 [main] chmod 276 environ_init: 0xA010EA0: PWD=/home/pgarry/txt
   98    7938 [main] chmod 276 environ_init: 0xA010EC0: SHLVL=1
   98    8036 [main] chmod 276 environ_init: 0xA010ED0: SYSTEMDRIVE=C:
   97    8133 [main] chmod 276 environ_init: 0xA010EE8: SYSTEMROOT=C:\WINNT
   99    8232 [main] chmod 276 getwinenv: can't set native for TEMP= since no environ yet
  122    8354 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp, no-keep-rel, no-add-slash)
   55    8409 [main] chmod 276 normalize_win32_path: c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp = normalize_win32_path (c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp)
   56    8465 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/DOCUME~1/PGARRY~1.RAM/LOCALS~1/Temp = conv_to_posix_path (c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp)
  148    8613 [main] chmod 276 win_env::add_cache: posix /cygdrive/c/DOCUME~1/PGARRY~1.RAM/LOCALS~1/Temp
   51    8664 [main] chmod 276 win_env::add_cache: native TEMP=c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp
   52    8716 [main] chmod 276 posify: env var converted to TEMP=/cygdrive/c/DOCUME~1/PGARRY~1.RAM/LOCALS~1/Temp
   99    8815 [main] chmod 276 environ_init: 0xA010F30: TEMP=/cygdrive/c/DOCUME~1/PGARRY~1.RAM/LOCALS~1/Temp
  107    8922 [main] chmod 276 environ_init: 0xA010F00: TERM=cygwin
  100    9022 [main] chmod 276 getwinenv: can't set native for TMP= since no environ yet
   99    9121 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp, no-keep-rel, no-add-slash)
   54    9175 [main] chmod 276 normalize_win32_path: c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp = normalize_win32_path (c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp)
   56    9231 [main] chmod 276 mount_info::conv_to_posix_path: /cygdrive/c/DOCUME~1/PGARRY~1.RAM/LOCALS~1/Temp = conv_to_posix_path (c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp)
  150    9381 [main] chmod 276 win_env::add_cache: posix /cygdrive/c/DOCUME~1/PGARRY~1.RAM/LOCALS~1/Temp
   51    9432 [main] chmod 276 win_env::add_cache: native TMP=c:\DOCUME~1\PGARRY~1.RAM\LOCALS~1\Temp
   52    9484 [main] chmod 276 posify: env var converted to TMP=/cygdrive/c/DOCUME~1/PGARRY~1.RAM/LOCALS~1/Temp
   99    9583 [main] chmod 276 environ_init: 0xA0110D8: TMP=/cygdrive/c/DOCUME~1/PGARRY~1.RAM/LOCALS~1/Temp
   98    9681 [main] chmod 276 environ_init: 0xA010F10: USER=pgarry
   98    9779 [main] chmod 276 environ_init: 0xA0110A8: USERDOMAIN=RAMCOM
   98    9877 [main] chmod 276 environ_init: 0xA0110C0: USERNAME=pgarry
   98    9975 [main] chmod 276 environ_init: 0xA011250: USERPROFILE=C:\Documents and Settings\pgarry.RAMCOM
  150   10125 [main] chmod 276 environ_init: 0xA011288: WINDIR=C:\WINNT
   98   10223 [main] chmod 276 environ_init: 0xA010F20: _=./bat
  131   10354 [main] chmod 276 pinfo_init: pid 276, pgid 276
  122   10476 [main] chmod 276 dtable::extend: size 32, fds 0x61560128
  851   11327 [main] chmod 276 internal_getlogin: GetUserName() = pgarry
  109   11436 [main] chmod 276 internal_getlogin: User: pgarry, Domain: RAMCOM, Logon Server: RAMCOM
   62   11498 [main] chmod 276 internal_getlogin: Domain: RAMCOM, Logon Server: RAMCOM, Windows Username: pgarry
  119   11617 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0)
   64   11681 [main] chmod 276 _cygwin_istext_for_stdio:  _cifs: fd not open
   53   11734 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (1)
   54   11788 [main] chmod 276 _cygwin_istext_for_stdio:  _cifs: fd not open
   52   11840 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (2)
   51   11891 [main] chmod 276 _cygwin_istext_for_stdio:  _cifs: fd not open
   62   11953 [main] chmod 276 _open: open (/etc/passwd, 0x20000)
   85   12038 [main] chmod 276 normalize_posix_path: src /etc/passwd
   59   12097 [main] chmod 276 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd)
   56   12153 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd)
   64   12217 [main] chmod 276 mount_info::conv_to_win32_path: src_path /etc/passwd, dst C:\cyg\etc\passwd, flags 0xA, rc 0
  292   12509 [main] chmod 276 symlink_info::check: not a symlink
   65   12574 [main] chmod 276 symlink_info::check: 0 = symlink.check (C:\cyg\etc\passwd, 0x240E7A0) (0xA)
   60   12634 [main] chmod 276 path_conv::check: root_dir(C:\), this->path(C:\cyg\etc\passwd), set_has_acls(8)
   74   12708 [main] chmod 276 dtable::build_fhandler: fd 3, fh 0x615602C8
   58   12766 [main] chmod 276 fhandler_base::open: (C:\cyg\etc\passwd, 0x20000)
   94   12860 [main] chmod 276 fhandler_base::open: 0xAC = CreateFileA (C:\cyg\etc\passwd, 0x80000000, 0x7, 0x240EBE0, 0x3, 0x80, 0)
   65   12925 [main] chmod 276 fhandler_base::open: filemode set to text
   59   12984 [main] chmod 276 fhandler_base::open: 1 = fhandler_base::open (C:\cyg\etc\passwd, 0x20000)
   57   13041 [main] chmod 276 fhandler_disk_file::open: 1 = fhandler_disk_file::open (C:\cyg\etc\passwd, 0x20000)
   54   13095 [main] chmod 276 _open: 3 = open (/etc/passwd, 0x20000)
   55   13150 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
   53   13203 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
  103   13306 [main] chmod 276 fhandler_disk_file::fstat_helper: 1 = GetFileInformationByHandle (C:\cyg\etc\passwd, 172)
   76   13382 [main] chmod 276 get_nt_attribute: file: C:\cyg\etc\passwd
   69   13451 [main] chmod 276 read_sd: file = C:\cyg\etc\passwd
  146   13597 [main] chmod 276 read_sd: file = C:\cyg\etc\passwd: len=92
   98   13695 [main] chmod 276 _open: open (/etc/group, 0x20000)
   65   13760 [main] chmod 276 normalize_posix_path: src /etc/group
   66   13826 [main] chmod 276 normalize_posix_path: /etc/group = normalize_posix_path (/etc/group)
   55   13881 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/group)
   59   13940 [main] chmod 276 mount_info::conv_to_win32_path: src_path /etc/group, dst C:\cyg\etc\group, flags 0xA, rc 0
  192   14132 [main] chmod 276 symlink_info::check: not a symlink
   62   14194 [main] chmod 276 symlink_info::check: 0 = symlink.check (C:\cyg\etc\group, 0x240CBC0) (0xA)
   58   14252 [main] chmod 276 path_conv::check: root_dir(C:\), this->path(C:\cyg\etc\group), set_has_acls(8)
   63   14315 [main] chmod 276 dtable::build_fhandler: fd 4, fh 0x615603C0
   54   14369 [main] chmod 276 fhandler_base::open: (C:\cyg\etc\group, 0x20000)
   88   14457 [main] chmod 276 fhandler_base::open: 0xA8 = CreateFileA (C:\cyg\etc\group, 0x80000000, 0x7, 0x240D000, 0x3, 0x80, 0)
   64   14521 [main] chmod 276 fhandler_base::open: filemode set to text
   55   14576 [main] chmod 276 fhandler_base::open: 1 = fhandler_base::open (C:\cyg\etc\group, 0x20000)
   54   14630 [main] chmod 276 fhandler_disk_file::open: 1 = fhandler_disk_file::open (C:\cyg\etc\group, 0x20000)
   54   14684 [main] chmod 276 _open: 4 = open (/etc/group, 0x20000)
   53   14737 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
   53   14790 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
   69   14859 [main] chmod 276 fhandler_disk_file::fstat_helper: 1 = GetFileInformationByHandle (C:\cyg\etc\group, 168)
   64   14923 [main] chmod 276 get_nt_attribute: file: C:\cyg\etc\group
   57   14980 [main] chmod 276 read_sd: file = C:\cyg\etc\group
  118   15098 [main] chmod 276 read_sd: file = C:\cyg\etc\group: len=92
  113   15211 [main] chmod 276 get_nt_attribute: file: C:\cyg\etc\group 1FF, uid 544, gid 513
   62   15273 [main] chmod 276 fhandler_disk_file::fstat_helper: 0 = fstat (, 0x240D380) st_atime=3D0F6537 st_size=280, st_mode=0x81FF, st_ino=972901, sizeof=64
   58   15331 [main] chmod 276 _fstat: 0 = fstat (4, 0x240D380)
   58   15389 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
   52   15441 [main] chmod 276 _cygwin_istext_for_stdio:  _cifs: get_*_binary
   54   15495 [main] chmod 276 setmode_helper: setmode: file was cle now raw
   54   15549 [main] chmod 276 setmode: setmode (4</etc/group>, binary) returns text
   61   15610 [main] chmod 276 _read: read (4, 0xA011410, 1024) blocking, sigcatchers 0
   57   15667 [main] chmod 276 _read: non-interruptible read
   84   15751 [main] chmod 276 fhandler_base::read: returning 280 chars, binary mode
   59   15810 [main] chmod 276 _read: 280 = read (4, 0xA011410, 1024), errno 0
   55   15865 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
   52   15917 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
   53   15970 [main] chmod 276 setmode_helper: setmode: file was raw now cle
   53   16023 [main] chmod 276 setmode: setmode (4</etc/group>, text) returns binary
  988   17011 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
   52   17063 [main] chmod 276 _cygwin_istext_for_stdio:  _cifs: get_*_binary
   53   17116 [main] chmod 276 setmode_helper: setmode: file was cle now raw
   53   17169 [main] chmod 276 setmode: setmode (4</etc/group>, binary) returns text
   53   17222 [main] chmod 276 _read: read (4, 0xA011410, 1024) blocking, sigcatchers 0
   54   17276 [main] chmod 276 _read: non-interruptible read
   56   17332 [main] chmod 276 _read: 0 = read (4, 0xA011410, 1024), errno 0
   69   17401 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
   53   17454 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
   53   17507 [main] chmod 276 setmode_helper: setmode: file was raw now cle
   53   17560 [main] chmod 276 setmode: setmode (4</etc/group>, text) returns binary
   63   17623 [main] chmod 276 _close: close (4)
   57   17680 [main] chmod 276 fhandler_base::close: closing '/etc/group' handle 0xA8
   81   17761 [main] chmod 276 _close: 0 = close (4)
   70   17831 [main] chmod 276 normalize_posix_path: src /etc
   55   17886 [main] chmod 276 normalize_posix_path: /etc = normalize_posix_path (/etc)
   53   17939 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)
   59   17998 [main] chmod 276 mount_info::conv_to_win32_path: src_path /etc, dst C:\cyg\etc, flags 0xA, rc 0
  203   18201 [main] chmod 276 symlink_info::check: not a symlink
   62   18263 [main] chmod 276 symlink_info::check: 0 = symlink.check (C:\cyg\etc, 0x240CFF0) (0xA)
   57   18320 [main] chmod 276 path_conv::check: root_dir(C:\), this->path(C:\cyg\etc), set_has_acls(8)
  186   18506 [main] chmod 276 get_nt_attribute: file: C:\cyg\etc\passwd 1FF, uid 544, gid 513
   67   18573 [main] chmod 276 fhandler_disk_file::fstat_helper: 0 = fstat (, 0x240EF60) st_atime=3D0F6537 st_size=215, st_mode=0x81FF, st_ino=1497290, sizeof=64
   60   18633 [main] chmod 276 _fstat: 0 = fstat (3, 0x240EF60)
   57   18690 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
   52   18742 [main] chmod 276 _cygwin_istext_for_stdio:  _cifs: get_*_binary
   54   18796 [main] chmod 276 setmode_helper: setmode: file was cle now raw
   53   18849 [main] chmod 276 setmode: setmode (3</etc/passwd>, binary) returns text
   54   18903 [main] chmod 276 _read: read (3, 0xA011410, 1024) blocking, sigcatchers 0
   54   18957 [main] chmod 276 _read: non-interruptible read
   73   19030 [main] chmod 276 fhandler_base::read: returning 215 chars, binary mode
   57   19087 [main] chmod 276 _read: 215 = read (3, 0xA011410, 1024), errno 0
   54   19141 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
   52   19193 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
   53   19246 [main] chmod 276 setmode_helper: setmode: file was raw now cle
   53   19299 [main] chmod 276 setmode: setmode (3</etc/passwd>, text) returns binary
  485   19784 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
   53   19837 [main] chmod 276 _cygwin_istext_for_stdio:  _cifs: get_*_binary
   52   19889 [main] chmod 276 setmode_helper: setmode: file was cle now raw
   52   19941 [main] chmod 276 setmode: setmode (3</etc/passwd>, binary) returns text
   53   19994 [main] chmod 276 _read: read (3, 0xA011410, 1024) blocking, sigcatchers 0
   54   20048 [main] chmod 276 _read: non-interruptible read
   55   20103 [main] chmod 276 _read: 0 = read (3, 0xA011410, 1024), errno 0
   54   20157 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
   51   20208 [main] chmod 276 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
   53   20261 [main] chmod 276 setmode_helper: setmode: file was raw now cle
   52   20313 [main] chmod 276 setmode: setmode (3</etc/passwd>, text) returns binary
   57   20370 [main] chmod 276 _close: close (3)
   54   20424 [main] chmod 276 fhandler_base::close: closing '/etc/passwd' handle 0xAC
   71   20495 [main] chmod 276 _close: 0 = close (3)
  221   20716 [main] chmod 276 internal_getlogin: Cygwins Username: pgarry
  210   20926 [main] chmod 276 sigproc_init: process/signal handling enabled(1)
  293   21219 [main] chmod 276 build_argv: argv[0] = 'chmod'
   56   21275 [main] chmod 276 build_argv: argv[1] = '644'
   55   21330 [main] chmod 276 build_argv: argv[2] = '/home/pgarry/txt/sig.txt'
   52   21382 [main] chmod 276 build_argv: argc 3
  292   21674 [sig] chmod 276 wait_sig: sigcatch_nonmain 0xBC, sigcatch_main 0xC4
  152   21826 [sig] chmod 276 wait_sig: Ready.  dwProcessid 276
   90   21916 [main] chmod 276 normalize_posix_path: src /dev/conin
   73   21989 [main] chmod 276 normalize_posix_path: /dev/conin = normalize_posix_path (/dev/conin)
   71   22060 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/conin)
   76   22136 [main] chmod 276 mount_info::conv_to_win32_path: src_path /dev/conin, dst conin, flags 0x2, rc 0
 2059   24195 [main] chmod 276 dtable::build_fhandler: fd 0, fh 0x615604B8
  232   24427 [main] chmod 276 fhandler_base::init: created new fhandler_base for handle 0x3
  120   24547 [main] chmod 276 open_shared: name (null), shared 0x1C480000 (wanted 0x0), h 0xE4
   91   24638 [main] chmod 276 tty_min::set_ctty: attached tty1073741824 sid 276, pid 276, tty->pgid 0, tty->sid 276
   75   24713 [main] chmod 276 tty_min::set_ctty: resetting tty1073741824 sid.  Was 276, now 276.  pgid was 0, now 276.
  207   24920 [main] chmod 276 fhandler_console::open: opened conin$ 0x33, conout$ 0x37
   99   25019 [main] chmod 276 fhandler_console::output_tcsetattr: 0 = tcsetattr (,1C480018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
   74   25093 [main] chmod 276 dtable::init_std_file_from_handle: fd 0, handle 0x3
  152   25245 [main] chmod 276 normalize_posix_path: src unknown disk file
   88   25333 [main] chmod 276 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cyg\home\pgarry\txt, no-keep-rel, no-add-slash)
   78   25411 [main] chmod 276 normalize_win32_path: C:\cyg\home\pgarry\txt = normalize_win32_path (C:\cyg\home\pgarry\txt)
   77   25488 [main] chmod 276 mount_info::conv_to_posix_path: /home/pgarry/txt = conv_to_posix_path (C:\cyg\home\pgarry\txt)
   73   25561 [main] chmod 276 cwdstuff::get: posix /home/pgarry/txt
   70   25631 [main] chmod 276 cwdstuff::get: (/home/pgarry/txt) = cwdstuff::get (0x240F930, 260, 1, 0), errno 0
   70   25701 [main] chmod 276 normalize_posix_path: /home/pgarry/txt/unknown disk file = normalize_posix_path (unknown disk file)
   72   25773 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/home/pgarry/txt/unknown disk file)
   83   25856 [main] chmod 276 mount_info::conv_to_win32_path: src_path /home/pgarry/txt/unknown disk file, dst C:\cyg\home\pgarry\txt\unknown disk file, flags 0xA, rc 0
  353   26209 [main] chmod 276 symlink_info::check: GetFileAttributes (C:\cyg\home\pgarry\txt\unknown disk file) failed
   83   26292 [main] chmod 276 geterrno_from_win_error: windows error 2 == errno 2
  108   26400 [main] chmod 276 symlink_info::check: GetFileAttributes (C:\cyg\home\pgarry\txt\unknown disk file.lnk) failed
   78   26478 [main] chmod 276 geterrno_from_win_error: windows error 2 == errno 2
   69   26547 [main] chmod 276 symlink_info::check: 0 = symlink.check (C:\cyg\home\pgarry\txt\unknown disk file, 0x240F5F0) (0xA)
   71   26618 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/home/pgarry/txt)
   73   26691 [main] chmod 276 mount_info::conv_to_win32_path: src_path /home/pgarry/txt, dst C:\cyg\home\pgarry\txt, flags 0xA, rc 0
  102   26793 [main] chmod 276 symlink_info::check: not a symlink
   77   26870 [main] chmod 276 symlink_info::check: 0 = symlink.check (C:\cyg\home\pgarry\txt, 0x240F5F0) (0xA)
   73   26943 [main] chmod 276 path_conv::check: root_dir(C:\), this->path(C:\cyg\home\pgarry\txt\unknown disk file), set_has_acls(8)
   81   27024 [main] chmod 276 dtable::build_fhandler: fd 1, fh 0x615602C8
   71   27095 [main] chmod 276 fhandler_base::init: created new fhandler_base for handle 0xF4
   70   27165 [main] chmod 276 dtable::init_std_file_from_handle: fd 1, handle 0xF4
   83   27248 [main] chmod 276 normalize_posix_path: src /dev/conout
   69   27317 [main] chmod 276 normalize_posix_path: /dev/conout = normalize_posix_path (/dev/conout)
  119   27436 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/conout)
   72   27508 [main] chmod 276 mount_info::conv_to_win32_path: src_path /dev/conout, dst conout, flags 0x2, rc 0
  103   27611 [main] chmod 276 dtable::build_fhandler: fd 2, fh 0x61560F10
   93   27704 [main] chmod 276 fhandler_base::init: created new fhandler_base for handle 0x3F
  152   27856 [main] chmod 276 fhandler_console::open: opened conin$ 0x3, conout$ 0x43
   89   27945 [main] chmod 276 fhandler_console::output_tcsetattr: 0 = tcsetattr (,1C480018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
   71   28016 [main] chmod 276 dtable::init_std_file_from_handle: fd 2, handle 0x3F
   71   28087 [main] chmod 276 dll_list::init: here
   70   28157 [main] chmod 276 dll_crt0_1: user_data->main 0x401DB0
   86   28243 [main] chmod 276 sig_send: pid 276, signal -2, its_me 1
   80   28323 [sig] chmod 276 wait_sig: awake
   63   28386 [sig] chmod 276 wait_sig: processing signal -2
   55   28441 [sig] chmod 276 wait_sig: set main thread completion event
   54   28495 [sig] chmod 276 wait_sig: looping
   68   28563 [main] chmod 276 sig_send: Waiting for thiscomplete 0xCC
   69   28632 [main] chmod 276 sig_send: returning 0 from sending signal -2
  403   29035 [main] chmod 276 lstat: entering
   72   29107 [main] chmod 276 normalize_posix_path: src /home/pgarry/txt/sig.txt
   69   29176 [main] chmod 276 normalize_posix_path: /home/pgarry/txt/sig.txt = normalize_posix_path (/home/pgarry/txt/sig.txt)
   69   29245 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/home/pgarry/txt/sig.txt)
   72   29317 [main] chmod 276 mount_info::conv_to_win32_path: src_path /home/pgarry/txt/sig.txt, dst C:\cyg\home\pgarry\txt\sig.txt, flags 0xA, rc 0
  326   29643 [main] chmod 276 symlink_info::check: not a symlink
   84   29727 [main] chmod 276 symlink_info::check: 0 = symlink.check (C:\cyg\home\pgarry\txt\sig.txt, 0x240F564) (0xA)
   75   29802 [main] chmod 276 path_conv::check: root_dir(C:\), this->path(C:\cyg\home\pgarry\txt\sig.txt), set_has_acls(8)
   82   29884 [main] chmod 276 dtable::build_fhandler: fd -1, fh 0x615603C0
   70   29954 [main] chmod 276 stat_worker: (/home/pgarry/txt/sig.txt, 0x240FDF4, 1, 0x240FA34), file_attributes 32
   73   30027 [main] chmod 276 fhandler_base::open: (C:\cyg\home\pgarry\txt\sig.txt, 0x110000)
  113   30140 [main] chmod 276 fhandler_base::open: 0xA4 = CreateFileA (C:\cyg\home\pgarry\txt\sig.txt, 0x80000000, 0x7, 0x240F814, 0x3, 0x2000080, 0)
   81   30221 [main] chmod 276 fhandler_base::open: filemode set to binary
   72   30293 [main] chmod 276 fhandler_base::open: 1 = fhandler_base::open (C:\cyg\home\pgarry\txt\sig.txt, 0x110000)
   71   30364 [main] chmod 276 fhandler_disk_file::open: 1 = fhandler_disk_file::open (C:\cyg\home\pgarry\txt\sig.txt, 0x110000)
   87   30451 [main] chmod 276 fhandler_disk_file::fstat_helper: 1 = GetFileInformationByHandle (C:\cyg\home\pgarry\txt\sig.txt, 164)
   82   30533 [main] chmod 276 get_nt_attribute: file: C:\cyg\home\pgarry\txt\sig.txt
   75   30608 [main] chmod 276 read_sd: file = C:\cyg\home\pgarry\txt\sig.txt
  150   30758 [main] chmod 276 read_sd: file = C:\cyg\home\pgarry\txt\sig.txt: len=140
  161   30919 [main] chmod 276 get_nt_attribute: file: C:\cyg\home\pgarry\txt\sig.txt 1FF, uid 1000, gid 513
   76   30995 [main] chmod 276 fhandler_disk_file::fstat_helper: 0 = fstat (, 0x240FDF4) st_atime=3D0CD9EF st_size=421, st_mode=0x81FF, st_ino=481225, sizeof=64
   73   31068 [main] chmod 276 fhandler_base::close: closing '/home/pgarry/txt/sig.txt' handle 0xA4
   83   31151 [main] chmod 276 stat_worker: 0 = (/home/pgarry/txt/sig.txt, 0x240FDF4)
   78   31229 [main] chmod 276 normalize_posix_path: src /home/pgarry/txt/sig.txt
   71   31300 [main] chmod 276 normalize_posix_path: /home/pgarry/txt/sig.txt = normalize_posix_path (/home/pgarry/txt/sig.txt)
   70   31370 [main] chmod 276 mount_info::conv_to_win32_path: conv_to_win32_path (/home/pgarry/txt/sig.txt)
   76   31446 [main] chmod 276 mount_info::conv_to_win32_path: src_path /home/pgarry/txt/sig.txt, dst C:\cyg\home\pgarry\txt\sig.txt, flags 0xA, rc 0
  183   31629 [main] chmod 276 symlink_info::check: not a symlink
   78   31707 [main] chmod 276 symlink_info::check: 0 = symlink.check (C:\cyg\home\pgarry\txt\sig.txt, 0x240F5C4) (0xA)
   92   31799 [main] chmod 276 path_conv::check: root_dir(C:\), this->path(C:\cyg\home\pgarry\txt\sig.txt), set_has_acls(8)
  231   32030 [main] chmod 276 get_nt_attribute: file: C:\cyg\home\pgarry\txt\sig.txt
   84   32114 [main] chmod 276 read_sd: file = C:\cyg\home\pgarry\txt\sig.txt
  134   32248 [main] chmod 276 read_sd: file = C:\cyg\home\pgarry\txt\sig.txt: len=140
  104   32352 [main] chmod 276 get_nt_attribute: file: C:\cyg\home\pgarry\txt\sig.txt uid 1000, gid 513
   88   32440 [main] chmod 276 read_sd: file = C:\cyg\home\pgarry\txt\sig.txt
  127   32567 [main] chmod 276 read_sd: file = C:\cyg\home\pgarry\txt\sig.txt: len=140
   84   32651 [main] chmod 276 lookup_name: name  : pgarry
 1340   33991 [main] chmod 276 lookup_name: sid : [1000]
  251   34242 [main] chmod 276 handle_exceptions: In cygwin_except_handler exc 0xC0000005 at 0x61051919 sp 0x240DB30
   78   34320 [main] chmod 276 handle_exceptions: In cygwin_except_handler sig = 11 at 0x61051919
   69   34389 [main] chmod 276 handle_exceptions: In cygwin_except_handler calling 0x0
   69   34458 [main] chmod 276 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
  333   34791 [main] chmod 276 try_to_debug: debugger_command ''
  543   35334 [main] chmod 276 open_stackdumpfile: Dumping stack trace to chmod.exe.stackdump
2134221 2169555 [main] chmod 276 signal_exit: about to call do_exit (18B00)
   98 2169653 [main] chmod 276 do_exit: do_exit (101120)
   75 2169728 [main] chmod 276 void: 0x0 = signal (20, 0x1)
   72 2169800 [main] chmod 276 void: 0x0 = signal (1, 0x1)
   68 2169868 [main] chmod 276 void: 0x0 = signal (2, 0x1)
   68 2169936 [main] chmod 276 void: 0x0 = signal (3, 0x1)
  115 2170051 [main] chmod 276 fhandler_base::close: closing 'unknown disk file' handle 0xF4
  107 2170158 [main] chmod 276 proc_terminate: nchildren 0, nzombies 0
   72 2170230 [main] chmod 276 proc_terminate: leaving
   69 2170299 [main] chmod 276 sigproc_terminate: entering
   67 2170366 [main] chmod 276 sigproc_terminate: done
  179 2170545 [main] chmod 276 __to_clock_t: dwHighDateTime 0, dwLowDateTime 400576
   74 2170619 [main] chmod 276 __to_clock_t: total 00000000 00000028
   70 2170689 [main] chmod 276 __to_clock_t: dwHighDateTime 0, dwLowDateTime 400576
   68 2170757 [main] chmod 276 __to_clock_t: total 00000000 00000028
 1034 2171791 [main] chmod 276 _pinfo::exit: Calling ExitProcess 101120

**************************** additional shell output ***********************

34458 [main] chmod 276 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
35334 [main] chmod 276 open_stackdumpfile: Dumping stack trace to chmod.exe.stackdump

Exception: STATUS_ACCESS_VIOLATION at eip=61051919
eax=00000001 ebx=0240E854 ecx=00000000 edx=0240AF8C esi=0A011B40 edi=00000201
ebp=0240E964 esp=0240DB30 program=C:\cyg\bin\chmod.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0240E964  61051919  (000003E8, 00000201, 61560258, 000001A4)
0240F9B4  610522FC  (0240FA54, 000003E8, 00000201, 61560258)
0240FA04  61052439  (80000000, 0240FA54, 000003E8, 00000201)
0240FDA4  610632CB  (0240FEB2, 000001A4, 0240FE34, 004015A8)
0240FE34  004015B4  (0240FEB2, 0A011470, 00000001, 004021A8)
0240FE84  004021BC  (00000003, 0A011410, 0A010278, 00400000)
0240FF10  61003F42  (00000000, 00000000, 00230688, 8052D883)
0240FF40  61004236  (00401DB0, 00230688, 825AB540, 00000000)
0240FF60  61004275  (00000000, 00000000, 00780018, 00000002)
0240FF90  00407687  (00401DB0, 00000000, 80100000, BA38CD00)
0240FFC0  0040103D  (00230688, 0022F8EC, 7FFDF000, FFFFFFFF)
0240FFF0  77E8D326  (00401000, 00000000, 000000C8, 00000100)
End of stack trace


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]