Mail Archives: cygwin/2014/05/05/12:17:49
--------------040907030303030204080908
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Corinna Vinschen wrote:
> On May 5 11:23, Chris J. Breisch wrote:
>> In both cases, I am logging on to the machine with a "Microsoft
>> Account": http://www.microsoft.com/en-us/account/default.aspx
>
> Hmm, maybe that's the problem. This "Microsoft Account" stuff might
> influence how the underlying OS handles permissions. I would never
> touch this stuff ;)
I don't blame you. And I don't think you can use them on a machine
that's a member of a domain, but I could be mistaken there. They're
local accounts, but definitely with a twist. I was pleasantly surprised
that ssh didn't choke on them, but I didn't really suspect it as a root
cause for file permission issues, or I would have mentioned that in my
very first message.
>
> For testing you could try to create a normal local account, add it to
> /etc/passwd and run the above under this account. If it behaves
> differently (correct, that is), it's a something weird with these MS
> accounts. But then again, I wouldn't know how to "fix" this, other
> than to suggest to use a normal account instead.
Bingo. I had just such an account already. It works as expected, i.e.
correctly.
Could we "fix" it by allowing the user to set their default group? As I
said in my original message, changing the group from None to Users in
/etc/passwd solved my problems.
Of course, if we don't really understand these accounts, then we don't
know why that solved my problem, or if the same thing would work for
someone else. Hmmm. Never mind.
> Nah, at this point we really don't know why this happens on your machine
> and it could easily be somebody elses fault.
>
> An strace of `chmod 400 bar' might sched some light on this issue, but I
> have a gut feeling the underlying WIndows call will not even return an
> error code...
Attached. Your gut seems to be working today...
--
Chris J. Breisch
--------------040907030303030204080908
Content-Type: text/plain;
name="strace.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="strace.out"
13 13 [main] chmod (5536) **********************************************
24 37 [main] chmod (5536) Program name: C:\cygwin\AMD64\bin\chmod.exe (windows pid 5536)
2 39 [main] chmod (5536) OS version: Windows NT-6.3
1 40 [main] chmod (5536) **********************************************
0 40 [main] chmod (5536) sigprocmask: 0 = sigprocmask (0, 0x1802BBC68, 0x0)
1479 1519 [main] chmod 5536 open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0x6C, *m 6
124 1643 [main] chmod 5536 user_heap_info::init: heap base 0x600000000, heap top 0x600000000, heap size 0x20000000 (536870912)
125 1768 [main] chmod 5536 open_shared: name S-1-5-21-3514886939-1786686319-3519756147-1001.1, n 1, shared 0x180020000 (wanted 0x180020000), h 0x68, *m 6
165 1933 [main] chmod 5536 user_info::create: opening user shared for 'S-1-5-21-3514886939-1786686319-3519756147-1001' at 0x180020000
100 2033 [main] chmod 5536 user_info::create: user shared version AB1FCCE8
106 2139 [main] chmod 5536 fhandler_pipe::create: name \\.\pipe\cygwin-cbee506f76730215-5536-sigwait, size 176, mode PIPE_TYPE_MESSAGE
149 2288 [main] chmod 5536 fhandler_pipe::create: pipe read handle 0x80
70 2358 [main] chmod 5536 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-cbee506f76730215-5536-sigwait
108 2466 [main] chmod 5536 fhandler_pipe::create: pipe write handle 0x84
74 2540 [main] chmod 5536 dll_crt0_0: finished dll_crt0_0 initialization
1348 3888 [sig] chmod 5536 wait_sig: entering ReadFile loop, my_readsig 0x80, my_sendsig 0x84
209 4097 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\home\Chris\test, no-keep-rel, no-add-slash)
126 4223 [main] chmod 5536 normalize_win32_path: C:\cygwin\home\Chris\test = normalize_win32_path (C:\cygwin\home\Chris\test)
77 4300 [main] chmod 5536 mount_info::conv_to_posix_path: /home/Chris/test = conv_to_posix_path (C:\cygwin\home\Chris\test)
476 4776 [main] chmod 5536 sigprocmask: 0 = sigprocmask (0, 0x600018128, 0x18013514B)
12712 17488 [main] chmod 5536 _cygwin_istext_for_stdio: fd 0: not open
106 17594 [main] chmod 5536 _cygwin_istext_for_stdio: fd 1: not open
99 17693 [main] chmod 5536 _cygwin_istext_for_stdio: fd 2: not open
318 18011 [main] chmod (5536) open_shared: name cygpid.5536, n 5536, shared 0x180010000 (wanted 0x180010000), h 0xA4, *m 2
30 18041 [main] ? (5536) time: 1399305706 = time(0x0)
0 18041 [main] chmod 5536 pinfo::thisproc: myself dwProcessId 5536
891 18932 [main] chmod 5536 environ_init: GetEnvironmentStrings returned 0x344E30
147 19079 [main] chmod 5536 environ_init: 0x6000284F0: ALLUSERSPROFILE=C:\ProgramData
162 19241 [main] chmod 5536 environ_init: 0x600028520: APPDATA=C:\Users\Chris J. Breisch\AppData\Roaming
85 19326 [main] chmod 5536 environ_init: 0x600028560: BASHRC_LOADED=true
78 19404 [main] chmod 5536 environ_init: 0x600028580: BASH_PROFILE_LOADED=true
132 19536 [main] chmod 5536 environ_init: 0x6000285B0: CLFS=/home/Chris/clfs
250 19786 [main] chmod 5536 environ_init: 0x6000285D0: CLIENTNAME=CBREISCH-WIN8
133 19919 [main] chmod 5536 environ_init: 0x600028600: COMMONPROGRAMFILES=C:\Program Files\Common Files
138 20057 [main] chmod 5536 environ_init: 0x600028640: COMPUTERNAME=WIN8-VM
116 20173 [main] chmod 5536 environ_init: 0x600028660: COMSPEC=C:\WINDOWS\system32\cmd.exe
111 20284 [main] chmod 5536 environ_init: 0x600028690: CVSROOT=:pserver:anoncvs AT cygwin DOT com:/cvs/src
112 20396 [main] chmod 5536 environ_init: 0x6000286D0: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
112 20508 [main] chmod 5536 environ_init: 0x600028720: CommonProgramW6432=C:\Program Files\Common Files
113 20621 [main] chmod 5536 parse_options: glob (called func)
211 20832 [main] chmod 5536 parse_options: returning
61 20893 [main] chmod 5536 environ_init: 0x600028760: CYGWIN=noglob
134 21027 [main] chmod 5536 environ_init: 0x6000287A0: DISPLAY=:0
213 21240 [main] chmod 5536 environ_init: 0x6000287C0: EXECIGNORE=*.dll
120 21360 [main] chmod 5536 environ_init: 0x6000287E0: FP_NO_HOST_CHECK=NO
111 21471 [main] chmod 5536 getwinenv: can't set native for HOME= since no environ yet
73 21544 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\home\Chris, no-keep-rel, no-add-slash)
63 21607 [main] chmod 5536 normalize_win32_path: C:\cygwin\home\Chris = normalize_win32_path (C:\cygwin\home\Chris)
69 21676 [main] chmod 5536 mount_info::conv_to_posix_path: /home/Chris = conv_to_posix_path (C:\cygwin\home\Chris)
159 21835 [main] chmod 5536 win_env::add_cache: posix /home/Chris
64 21899 [main] chmod 5536 win_env::add_cache: native HOME=C:\cygwin\home\Chris
59 21958 [main] chmod 5536 posify_maybe: env var converted to HOME=/home/Chris
1082 23040 [main] chmod 5536 environ_init: 0x600028880: HOME=/home/Chris
1 23041 [main] chmod 5536 environ_init: 0x600028800: HOMEDRIVE=C:
0 23041 [main] chmod 5536 environ_init: 0x6000288A0: HOMEPATH=\Users\Chris J. Breisch
0 23041 [main] chmod 5536 environ_init: 0x6000288D0: HOSTNAME=WIN8-VM
0 23041 [main] chmod 5536 environ_init: 0x6000288F0: INFOPATH=/usr/local/info:/usr/share/info:/usr/info
0 23041 [main] chmod 5536 environ_init: 0x600028930: LESS=qesu
1042 24083 [main] chmod 5536 environ_init: 0x600028950: LIBRARY_PATH=/usr/local/lib
101 24184 [main] chmod 5536 environ_init: 0x600028980: LOCALAPPDATA=C:\Users\Chris J. Breisch\AppData\Local
93 24277 [main] chmod 5536 environ_init: 0x6000289C0: LOGONSERVER=\\MicrosoftAccount
133 24410 [main] chmod 5536 environ_init: 0x6000289F0: LS_COLORS=di=01;35
109 24519 [main] chmod 5536 environ_init: 0x600028A10: MANPATH=/usr/local/man:/usr/share/man:/usr/man:/usr/ssl/man
110 24629 [main] chmod 5536 environ_init: 0x600028A60: NUMBER_OF_PROCESSORS=1
90 24719 [main] chmod 5536 environ_init: 0x600028A80: OLDPWD=/home/Chris
88 24807 [main] chmod 5536 environ_init: 0x600028AA0: ORIGINAL_PATH=/win/c/WINDOWS/system32:/win/c/WINDOWS:/win/c/WINDOWS/System32/Wbem:/win/c/WINDOWS/System32/WindowsPowerShell/v1.0:/win/c/Program Files (x86)/Microsoft SQL Server/110/Tools/Binn/ManagementStudio:/win/c/Program Files (x86)/Microsoft SQL Server/110/Tools/Binn:/win/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/win/c/Program Files (x86)/Microsoft SQL Server/110/DTS/Binn
84 24891 [main] chmod 5536 environ_init: 0x600028C30: OS=Windows_NT
149 25040 [main] chmod 5536 getwinenv: can't set native for PATH= since no environ yet
1 25041 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\home\Chris\bin, keep-rel, no-add-slash)
0 25041 [main] chmod 5536 normalize_win32_path: C:\cygwin\home\Chris\bin = normalize_win32_path (C:\cygwin\home\Chris\bin)
0 25041 [main] chmod 5536 mount_info::conv_to_posix_path: /home/Chris/bin = conv_to_posix_path (C:\cygwin\home\Chris\bin)
555 25596 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\AMD64\usr\local\bin, keep-rel, no-add-slash)
70 25666 [main] chmod 5536 normalize_win32_path: C:\cygwin\AMD64\usr\local\bin = normalize_win32_path (C:\cygwin\AMD64\usr\local\bin)
80 25746 [main] chmod 5536 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cygwin\AMD64\usr\local\bin)
114 25860 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\AMD64\bin, keep-rel, no-add-slash)
73 25933 [main] chmod 5536 normalize_win32_path: C:\cygwin\AMD64\bin = normalize_win32_path (C:\cygwin\AMD64\bin)
501 26434 [main] chmod 5536 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\AMD64\bin)
68 26502 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, keep-rel, no-add-slash)
69 26571 [main] chmod 5536 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
46 26617 [main] chmod 5536 mount_info::conv_to_posix_path: /win/c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
129 26746 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, keep-rel, no-add-slash)
67 26813 [main] chmod 5536 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
93 26906 [main] chmod 5536 mount_info::conv_to_posix_path: /win/c/Windows = conv_to_posix_path (C:\Windows)
53 26959 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\AMD64\usr\X11R6\bin, keep-rel, no-add-slash)
81 27040 [main] chmod 5536 normalize_win32_path: C:\cygwin\AMD64\usr\X11R6\bin = normalize_win32_path (C:\cygwin\AMD64\usr\X11R6\bin)
138 27178 [main] chmod 5536 mount_info::conv_to_posix_path: /usr/X11R6/bin = conv_to_posix_path (C:\cygwin\AMD64\usr\X11R6\bin)
61 27239 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\program files\microsoft sql server\110\tools\binn, keep-rel, no-add-slash)
46 27285 [main] chmod 5536 normalize_win32_path: C:\program files\microsoft sql server\110\tools\binn = normalize_win32_path (C:\program files\microsoft sql server\110\tools\binn)
50 27335 [main] chmod 5536 mount_info::conv_to_posix_path: /win/c/program files/microsoft sql server/110/tools/binn = conv_to_posix_path (C:\program files\microsoft sql server\110\tools\binn)
58 27393 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\AMD64\usr\sbin, keep-rel, no-add-slash)
91 27484 [main] chmod 5536 normalize_win32_path: C:\cygwin\AMD64\usr\sbin = normalize_win32_path (C:\cygwin\AMD64\usr\sbin)
60 27544 [main] chmod 5536 mount_info::conv_to_posix_path: /usr/sbin = conv_to_posix_path (C:\cygwin\AMD64\usr\sbin)
159 27703 [main] chmod 5536 win_env::add_cache: posix /home/Chris/bin:/usr/local/bin:/usr/bin:/win/c/Windows/system32:/win/c/Windows:/usr/X11R6/bin:/win/c/program files/microsoft sql server/110/tools/binn:/usr/sbin
58 27761 [main] chmod 5536 win_env::add_cache: native PATH=C:\cygwin\home\Chris\bin;C:\cygwin\AMD64\usr\local\bin;C:\cygwin\AMD64\bin;C:\Windows\system32;C:\Windows;C:\cygwin\AMD64\usr\X11R6\bin;C:\program files\microsoft sql server\110\tools\binn;C:\cygwin\AMD64\usr\sbin
56 27817 [main] chmod 5536 posify_maybe: env var converted to PATH=/home/Chris/bin:/usr/local/bin:/usr/bin:/win/c/Windows/system32:/win/c/Windows:/usr/X11R6/bin:/win/c/program files/microsoft sql server/110/tools/binn:/usr/sbin
111 27928 [main] chmod 5536 environ_init: 0x600038EF0: PATH=/home/Chris/bin:/usr/local/bin:/usr/bin:/win/c/Windows/system32:/win/c/Windows:/usr/X11R6/bin:/win/c/program files/microsoft sql server/110/tools/binn:/usr/sbin
101 28029 [main] chmod 5536 environ_init: 0x600028C50: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
88 28117 [main] chmod 5536 environ_init: 0x600028CA0: PP22_EXE4J_JAVA_HOME=C:\Program Files (x86)\Java\jre7
84 28201 [main] chmod 5536 environ_init: 0x600028CE0: PRINTER=HP LaserJet P2035n (redirected 2)
125 28326 [main] chmod 5536 environ_init: 0x600038FA0: PROCESSOR_ARCHITECTURE=AMD64
104 28430 [main] chmod 5536 environ_init: 0x600038FD0: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
142 28572 [main] chmod 5536 environ_init: 0x600028D20: PROCESSOR_LEVEL=6
160 28732 [main] chmod 5536 environ_init: 0x600039030: PROCESSOR_REVISION=1e05
147 28879 [main] chmod 5536 environ_init: 0x600039060: PROFILEREAD=true
136 29015 [main] chmod 5536 environ_init: 0x600039080: PROGRAMFILES=C:\Program Files
122 29137 [main] chmod 5536 environ_init: 0x6000390B0: PROMPT_COMMAND=echo -ne "\033]0;${USER}@${HOSTNAME} (${PROCESSOR_ARCHITECTURE})\007"
93 29230 [main] chmod 5536 environ_init: 0x600039110: PS1=\[\e[1;32m\]\u@\h [ \[\e[0m\]\w\[\e[1;32m\] ]$ \[\e[0m\]
86 29316 [main] chmod 5536 environ_init: 0x600039160: PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\
89 29405 [main] chmod 5536 environ_init: 0x600039200: PUBLIC=C:\Users\Public
87 29492 [main] chmod 5536 environ_init: 0x600039220: PWD=/home/Chris/test
85 29577 [main] chmod 5536 environ_init: 0x600039240: ProgramData=C:\ProgramData
134 29711 [main] chmod 5536 environ_init: 0x600039270: ProgramFiles(x86)=C:\Program Files (x86)
95 29806 [main] chmod 5536 environ_init: 0x6000392B0: ProgramW6432=C:\Program Files
147 29953 [main] chmod 5536 environ_init: 0x6000392E0: SESSIONNAME=RDP-Tcp#5
191 30144 [main] chmod 5536 environ_init: 0x600039300: SHELL=/bin/bash
122 30266 [main] chmod 5536 environ_init: 0x600039320: SHLVL=1
155 30421 [main] chmod 5536 environ_init: 0x600039340: SYSTEMDRIVE=C:
105 30526 [main] chmod 5536 environ_init: 0x600039360: SYSTEMROOT=C:\WINDOWS
82 30608 [main] chmod 5536 getwinenv: can't set native for TEMP= since no environ yet
49 30657 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\AMD64\tmp, no-keep-rel, no-add-slash)
45 30702 [main] chmod 5536 normalize_win32_path: C:\cygwin\AMD64\tmp = normalize_win32_path (C:\cygwin\AMD64\tmp)
50 30752 [main] chmod 5536 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin\AMD64\tmp)
111 30863 [main] chmod 5536 win_env::add_cache: posix /tmp
46 30909 [main] chmod 5536 win_env::add_cache: native TEMP=C:\cygwin\AMD64\tmp
56 30965 [main] chmod 5536 posify_maybe: env var converted to TEMP=/tmp
185 31150 [main] chmod 5536 environ_init: 0x600039400: TEMP=/tmp
110 31260 [main] chmod 5536 environ_init: 0x600039380: TERM=xterm
86 31346 [main] chmod 5536 getwinenv: can't set native for TMP= since no environ yet
44 31390 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\AMD64\tmp, no-keep-rel, no-add-slash)
49 31439 [main] chmod 5536 normalize_win32_path: C:\cygwin\AMD64\tmp = normalize_win32_path (C:\cygwin\AMD64\tmp)
70 31509 [main] chmod 5536 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin\AMD64\tmp)
219 31728 [main] chmod 5536 win_env::add_cache: posix /tmp
66 31794 [main] chmod 5536 win_env::add_cache: native TMP=C:\cygwin\AMD64\tmp
66 31860 [main] chmod 5536 posify_maybe: env var converted to TMP=/tmp
166 32026 [main] chmod 5536 environ_init: 0x600039490: TMP=/tmp
110 32136 [main] chmod 5536 environ_init: 0x600039420: TZ=America/New_York
104 32240 [main] chmod 5536 environ_init: 0x6000394B0: USER=Chris
102 32342 [main] chmod 5536 environ_init: 0x6000394D0: USERDOMAIN=WIN8-VM
103 32445 [main] chmod 5536 environ_init: 0x6000394F0: USERDOMAIN_ROAMINGPROFILE=WIN8-VM
102 32547 [main] chmod 5536 environ_init: 0x600039520: USERNAME=Chris
104 32651 [main] chmod 5536 environ_init: 0x600039540: USERPROFILE=C:\Users\Chris J. Breisch
207 32858 [main] chmod 5536 environ_init: 0x600039570: VISUAL=/usr/bin/vi
105 32963 [main] chmod 5536 environ_init: 0x600039590: WINDIR=C:\WINDOWS
209 33172 [main] chmod 5536 environ_init: 0x6000395B0: _=/usr/bin/strace
92 33264 [main] chmod 5536 pinfo_init: Set nice to 0
64 33328 [main] chmod 5536 pinfo_init: pid 5536, pgid 5536, process_state 0x41
66 33394 [main] chmod 5536 App version: 1007.18, api: 0.263
58 33452 [main] chmod 5536 DLL version: 1007.29, api: 0.272
64 33516 [main] chmod 5536 DLL build: 2014-04-07 13:46
75 33591 [main] chmod 5536 dtable::extend: size 32, fds 0x1802DDFC0
729 34320 [main] chmod 5536 pwdgrp::load: \etc\passwd curr_lines 12
89 34409 [main] chmod 5536 pwdgrp::load: \etc\passwd load succeeded
668 35077 [main] chmod 5536 pwdgrp::load: \etc\group curr_lines 23
72 35149 [main] chmod 5536 pwdgrp::load: \etc\group load succeeded
63 35212 [main] chmod 5536 internal_getlogin: NtSetInformationToken (TokenPrimaryGroup), 0xC000005B
53 35265 [main] chmod 5536 cygheap_user::ontherange: what 2, pw 0x600039C30
45 35310 [main] chmod 5536 cygheap_user::ontherange: HOME is already in the environment /home/Chris
252 35562 [main] chmod 5536 build_argv: argv[0] = 'chmod'
111 35673 [main] chmod 5536 build_argv: argv[1] = '400'
56 35729 [main] chmod 5536 build_argv: argv[2] = 'bar'
44 35773 [main] chmod 5536 build_argv: argc 3
189 35962 [main] chmod 5536 build_fh_pc: created an archetype (0x1802DE420) for /dev/pty0(136/0)
261 36223 [main] chmod 5536 build_fh_pc: fh 0x1802DE1B0, dev 00880000
96 36319 [main] chmod 5536 fhandler_pipe::create: name \\.\pipe\cygwin-cbee506f76730215-pty0-from-master, size 131072, mode PIPE_TYPE_MESSAGE
150 36469 [main] chmod 5536 fhandler_pipe::create: pipe busy
82 36551 [main] chmod 5536 tty::exists: exists 1
151 36702 [main] chmod 5536 alloc_sd: uid 1001, gid 513, attribute 0x2190
65 36767 [main] chmod 5536 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-3514886939-1786686319-3519756147-1001 (+)
70 36837 [main] chmod 5536 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-3514886939-1786686319-3519756147-1001 (+)
55 36892 [main] chmod 5536 alloc_sd: ACL-Size: 88
296 37188 [main] chmod 5536 alloc_sd: Created SD-Size: 164
78 37266 [main] chmod 5536 fhandler_pty_slave::open: (440): pty output_mutex (0xA8): waiting -1 ms
74 37340 [main] chmod 5536 fhandler_pty_slave::open: (440): pty output_mutex: acquired
76 37416 [main] chmod 5536 tty::create_inuse: cygtty.slave_alive.0 0xB4
121 37537 [main] chmod 5536 fhandler_pty_slave::open: (443): pty output_mutex(0xA8) released
142 37679 [main] chmod 5536 open_shared: name cygpid.652, n 652, shared 0x20000 (wanted 0x0), h 0xB8, *m 6
67 37746 [main] chmod 5536 fhandler_pty_slave::open: dup handles directly since I'm the owner
78 37824 [main] chmod 5536 fhandler_pty_slave::open: duplicated from_master 0x22C->0xB8 from pty_owner
52 37876 [main] chmod 5536 fhandler_pty_slave::open: duplicated to_master 0x23C->0xC0 from pty_owner
88 37964 [main] chmod 5536 fhandler_console::need_invisible: invisible_console 0
107 38071 [main] chmod 5536 fhandler_base::open_with_arch: line 474: /dev/pty0<0x1802DE420> usecount + 1 = 1
572 38643 [main] chmod 5536 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
70 38713 [main] chmod 5536 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
70 38783 [main] chmod 5536 fhandler_base::set_flags: filemode set to binary
73 38856 [main] chmod 5536 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x880000 flags & O_NOCTTY 0x0
53 38909 [main] chmod 5536 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x1802DE420
43 38952 [main] chmod 5536 _pinfo::set_ctty: ctty was NULL
58 39010 [main] chmod 5536 _pinfo::set_ctty: line 482: /dev/pty0<0x1802DE420> usecount + 1 = 2
83 39093 [main] chmod 5536 _pinfo::set_ctty: /dev/pty0 ctty, usecount 2
719 39812 [main] chmod 5536 _pinfo::set_ctty: attaching ctty /dev/pty0 sid 5536, pid 5536, pgid 5536, tty->pgid 6112, tty->sid 3996
77 39889 [main] chmod 5536 _pinfo::set_ctty: cygheap->ctty now 0x1802DE420, archetype 0x1802DE420
68 39957 [main] chmod 5536 fhandler_pty_slave::open_setup: /dev/pty0 opened, usecount 2
86 40043 [main] chmod 5536 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
65 40108 [main] chmod 5536 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
46 40154 [main] chmod 5536 fhandler_base::set_flags: filemode set to binary
47 40201 [main] chmod 5536 _pinfo::set_ctty: old ctty /dev/pty0, ctty device number 0x880000, tc.ntty device number 0x880000 flags & O_NOCTTY 0x0
88 40289 [main] chmod 5536 _pinfo::set_ctty: attaching ctty /dev/pty0 sid 3996, pid 5536, pgid 6112, tty->pgid 6112, tty->sid 3996
53 40342 [main] chmod 5536 _pinfo::set_ctty: cygheap->ctty now 0x1802DE420, archetype 0x1802DE420
41 40383 [main] chmod 5536 fhandler_pty_slave::open_setup: /dev/pty0 opened, usecount 2
3118 43501 [main] chmod 5536 handle_to_fn: current match 'C:' = '\Device\HarddiskVolume1'
413 43914 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\home\Chris\test\strace.out, no-keep-rel, no-add-slash)
182 44096 [main] chmod 5536 normalize_win32_path: C:\cygwin\home\Chris\test\strace.out = normalize_win32_path (C:\cygwin\home\Chris\test\strace.out)
65 44161 [main] chmod 5536 mount_info::conv_to_posix_path: /home/Chris/test/strace.out = conv_to_posix_path (C:\cygwin\home\Chris\test\strace.out)
69 44230 [main] chmod 5536 handle_to_fn: derived path 'C:\cygwin\home\Chris\test\strace.out', posix '/home/Chris/test/strace.out'
68 44298 [main] chmod 5536 normalize_posix_path: src /home/Chris/test/strace.out
69 44367 [main] chmod 5536 normalize_posix_path: /home/Chris/test/strace.out = normalize_posix_path (/home/Chris/test/strace.out)
62 44429 [main] chmod 5536 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Chris/test/strace.out)
59 44488 [main] chmod 5536 set_flags: flags: binary (0x2)
113 44601 [main] chmod 5536 mount_info::conv_to_win32_path: src_path /home/Chris/test/strace.out, dst C:\cygwin\home\Chris\test\strace.out, flags 0x2, rc 0
115 44716 [main] chmod 5536 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\home\Chris\test\strace.out)
96 44812 [main] chmod 5536 symlink_info::check: not a symlink
3967 48779 [main] chmod 5536 symlink_info::check: 0 = symlink.check(C:\cygwin\home\Chris\test\strace.out, 0x239750) (0x2)
126 48905 [main] chmod 5536 path_conv::check: this->path(C:\cygwin\home\Chris\test\strace.out), has_acls(1)
71 48976 [main] chmod 5536 build_fh_pc: fh 0x1802DE790, dev 000000C3
88 49064 [main] chmod 5536 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
75 49139 [main] chmod 5536 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
60 49199 [main] chmod 5536 fhandler_base::set_flags: filemode set to binary
66 49265 [main] chmod 5536 fhandler_base::init: created new fhandler_base for handle 0x240, bin 1
2219 51484 [main] chmod 5536 handle_to_fn: current match 'C:' = '\Device\HarddiskVolume1'
312 51796 [main] chmod 5536 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\home\Chris\test\strace.out, no-keep-rel, no-add-slash)
65 51861 [main] chmod 5536 normalize_win32_path: C:\cygwin\home\Chris\test\strace.out = normalize_win32_path (C:\cygwin\home\Chris\test\strace.out)
48 51909 [main] chmod 5536 mount_info::conv_to_posix_path: /home/Chris/test/strace.out = conv_to_posix_path (C:\cygwin\home\Chris\test\strace.out)
50 51959 [main] chmod 5536 handle_to_fn: derived path 'C:\cygwin\home\Chris\test\strace.out', posix '/home/Chris/test/strace.out'
263 52222 [main] chmod 5536 normalize_posix_path: src /home/Chris/test/strace.out
95 52317 [main] chmod 5536 normalize_posix_path: /home/Chris/test/strace.out = normalize_posix_path (/home/Chris/test/strace.out)
67 52384 [main] chmod 5536 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Chris/test/strace.out)
53 52437 [main] chmod 5536 set_flags: flags: binary (0x2)
45 52482 [main] chmod 5536 mount_info::conv_to_win32_path: src_path /home/Chris/test/strace.out, dst C:\cygwin\home\Chris\test\strace.out, flags 0x2, rc 0
93 52575 [main] chmod 5536 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\home\Chris\test\strace.out)
70 52645 [main] chmod 5536 symlink_info::check: not a symlink
4903 57548 [main] chmod 5536 symlink_info::check: 0 = symlink.check(C:\cygwin\home\Chris\test\strace.out, 0x239750) (0x2)
141 57689 [main] chmod 5536 path_conv::check: this->path(C:\cygwin\home\Chris\test\strace.out), has_acls(1)
68 57757 [main] chmod 5536 build_fh_pc: fh 0x1802DEA30, dev 000000C3
52 57809 [main] chmod 5536 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
52 57861 [main] chmod 5536 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
56 57917 [main] chmod 5536 fhandler_base::set_flags: filemode set to binary
113 58030 [main] chmod 5536 fhandler_base::init: created new fhandler_base for handle 0x228, bin 1
140 58170 [main] chmod 5536 __set_errno: void dll_crt0_1(void*):999 setting errno 0
518 58688 [main] chmod 5536 __get_lcid_from_locale: LCID=0x0000
181 58869 [main] chmod 5536 __get_lcid_from_locale: LCID=0x0000
118 58987 [main] chmod 5536 __get_lcid_from_locale: LCID=0x0000
251 59238 [main] chmod 5536 __get_lcid_from_locale: LCID=0x0000
157 59395 [main] chmod 5536 __get_lcid_from_locale: LCID=0x0000
1206 60601 [main] chmod 5536 stat64: entering
65 60666 [main] chmod 5536 normalize_posix_path: src bar
52 60718 [main] chmod 5536 cwdstuff::get: posix /home/Chris/test
61 60779 [main] chmod 5536 cwdstuff::get: (/home/Chris/test) = cwdstuff::get (0x600000010, 32768, 1, 0), errno 0
98 60877 [main] chmod 5536 normalize_posix_path: /home/Chris/test/bar = normalize_posix_path (bar)
83 60960 [main] chmod 5536 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Chris/test/bar)
45 61005 [main] chmod 5536 set_flags: flags: binary (0x2)
32 61037 [main] chmod 5536 mount_info::conv_to_win32_path: src_path /home/Chris/test/bar, dst C:\cygwin\home\Chris\test\bar, flags 0x2, rc 0
4 61041 [main] chmod 5536 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\home\Chris\test\bar)
2 61043 [main] chmod 5536 symlink_info::check: not a symlink
0 61043 [main] chmod 5536 symlink_info::check: 0 = symlink.check(C:\cygwin\home\Chris\test\bar, 0x239680) (0x400002)
0 61043 [main] chmod 5536 path_conv::check: this->path(C:\cygwin\home\Chris\test\bar), has_acls(1)
0 61043 [main] chmod 5536 build_fh_pc: fh 0x1802DECD0, dev 000000C3
0 61043 [main] chmod 5536 stat_worker: (\??\C:\cygwin\home\Chris\test\bar, 0x600043E60, 0x1802DECD0), file_attributes 32
0 61043 [main] chmod 5536 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-3514886939-1786686319-3519756147-1001
1123 62166 [main] chmod 5536 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-3514886939-1786686319-3519756147-1001
70 62236 [main] chmod 5536 get_info_from_sd: ACL 0x120, uid 1001, gid 513
226 62462 [main] chmod 5536 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin\home\Chris\test\bar, 0x600043E60) st_size=0, st_mode=0x8120, st_ino=6192449487651093st_atim=53679BCD.2937D718 st_ctim=5367B418.904190C st_mtim=53679BCD.2937D718 st_birthtim=53679BCD.291EA1F8
233 62695 [main] chmod 5536 stat_worker: 0 = (\??\C:\cygwin\home\Chris\test\bar,0x600043E60)
347 63042 [main] chmod 5536 normalize_posix_path: src /home/Chris/test/bar
1 63043 [main] chmod 5536 normalize_posix_path: /home/Chris/test/bar = normalize_posix_path (/home/Chris/test/bar)
0 63043 [main] chmod 5536 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Chris/test/bar)
448 63491 [main] chmod 5536 set_flags: flags: binary (0x2)
54 63545 [main] chmod 5536 mount_info::conv_to_win32_path: src_path /home/Chris/test/bar, dst C:\cygwin\home\Chris\test\bar, flags 0x2, rc 0
86 63631 [main] chmod 5536 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin\home\Chris\test\bar)
72 63703 [main] chmod 5536 symlink_info::check: not a symlink
124 63827 [main] chmod 5536 symlink_info::check: 0 = symlink.check(C:\cygwin\home\Chris\test\bar, 0x239560) (0x2)
71 63898 [main] chmod 5536 path_conv::check: this->path(C:\cygwin\home\Chris\test\bar), has_acls(1)
199 64097 [main] chmod 5536 build_fh_pc: fh 0x1802DECD0, dev 000000C3
64 64161 [main] chmod 5536 fhandler_base::open: (\??\C:\cygwin\home\Chris\test\bar, 0x110000)
209 64370 [main] chmod 5536 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
60 64430 [main] chmod 5536 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
52 64482 [main] chmod 5536 fhandler_base::set_flags: filemode set to binary
44 64526 [main] chmod 5536 fhandler_base::open: 0x0 = NtCreateFile (0xE0, 0x60100, \??\C:\cygwin\home\Chris\test\bar, io, NULL, 0x0, 0x7, 0x1, 0x4000, NULL, 0)
59 64585 [main] chmod 5536 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin\home\Chris\test\bar, 0x110000)
100 64685 [main] chmod 5536 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin\home\Chris\test\bar, 0x10000)
106 64791 [main] chmod 5536 alloc_sd: uid 4294967295, gid 4294967295, attribute 0x100
54 64845 [main] chmod 5536 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-3514886939-1786686319-3519756147-1001 (+)
80 64925 [main] chmod 5536 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-3514886939-1786686319-3519756147-1001 (+)
55 64980 [main] chmod 5536 alloc_sd: ACL-Size: 84
171 65151 [main] chmod 5536 alloc_sd: Created SD-Size: 160
293 65444 [main] chmod 5536 set_file_attribute: 0 = set_file_attribute(\??\C:\cygwin\home\Chris\test\bar, -1, -1, 0x100)
86 65530 [main] chmod 5536 fhandler_base::close: closing '/home/Chris/test/bar' handle 0xE0
233 65763 [main] chmod 5536 chmod: 0 = chmod(/home/Chris/test/bar, 0400)
775 66538 [main] chmod 5536 close: close(1)
81 66619 [main] chmod 5536 fhandler_base::close: closing '/home/Chris/test/strace.out' handle 0x240
86 66705 [main] chmod 5536 close: 0 = close(1)
1006 67711 [main] chmod 5536 close: close(2)
46 67757 [main] chmod 5536 fhandler_base::close: closing '/home/Chris/test/strace.out' handle 0x228
52 67809 [main] chmod 5536 close: 0 = close(2)
565 68374 [main] chmod 5536 do_exit: do_exit (0), exit_state 1
45 68419 [main] chmod 5536 void: 0x0 = signal (20, 0x1)
49 68468 [main] chmod 5536 void: 0x0 = signal (1, 0x1)
43 68511 [main] chmod 5536 void: 0x0 = signal (2, 0x1)
47 68558 [main] chmod 5536 void: 0x0 = signal (3, 0x1)
47 68605 [main] chmod 5536 fhandler_base::close_with_arch: line 1140: /dev/pty0<0x1802DE420> usecount + -1 = 1
51 68656 [main] chmod 5536 fhandler_base::close_with_arch: not closing archetype
57 68713 [main] chmod 5536 init_cygheap::close_ctty: closing cygheap->ctty 0x1802DE420
89 68802 [main] chmod 5536 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
53 68855 [main] chmod 5536 fhandler_pty_slave::cleanup: /dev/pty0 closed, usecount 0
48 68903 [main] chmod 5536 fhandler_pty_slave::close: closing last open /dev/pty0 handle
98 69001 [main] chmod 5536 fhandler_console::free_console: freed console, res 1
106 69107 [main] chmod 5536 fhandler_pty_common::close: pty0 <0xB8,0xC0> closing
88 69195 [main] chmod 5536 dtable::delete_archetype: deleting element 0 for /dev/pty0(136/0)
61 69256 [main] chmod 5536 getpid: 5536 = getpid()
84 69340 [main] chmod 5536 proc_terminate: nprocs 0
73 69413 [main] chmod 5536 proc_terminate: leaving
74 69487 [main] chmod 5536 pinfo::exit: Calling ExitProcess n 0x0, exitcode 0x0
--------------040907030303030204080908
Content-Type: text/plain; charset=us-ascii
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
--------------040907030303030204080908--
- Raw text -