Re: Group Permissions on root folders problem (Windows 10 TP build 10061)
Hi Corinna, Is there any progress regarding this problem? I recently encountered the same situation. After some trials, I found this problem occurs if the account, on which cygwin setup is executed, is a Microsoft account. This does not occur if the account is a local account. Above is true for both: a) Group permissions on root folders b) Creating sshd service using cyg_server I would be happy if this information helps you. On Tue, 16 Jun 2015 17:58:43 +0200 Corinna Vinschen wrote: > On Jun 16 09:23, Brian Buchanan wrote: > > On Thu, 30 Apr 2015 at 10:24:50, Corinna Vinschen > cygwin dot com> wrote: > > >[...] > > > Hmm, the permission test in the csih helper script is apparently not up > > > to the task in your situation. As a workaround, you may want to change > > > the group ownership of /var/empty to "Users" and chmod it to 755, then > > > run the ssh-host-config script again. > > > > > > > (I'm now on a fresh install of Build 10130) > > > > I had to do that to /var (not just /var/empty) to get past that > > message, but I've run into another snag with ssh-host-config > > > > I'm getting an errors saying unknown user win-g71n7drq4r6+cyg_server > > at the point of setting the password, the password expiry and > > assigning permissions. > > This is a domain member machine, yes? > > > *** Info: This script plans to use 'cyg_server'. > > *** Info: 'cyg_server' will only be used by registered services. > > *** Query: Create new privileged user account > > 'WIN-G71N7DRQ4R6\cyg_server' (Cygwin name: > > 'win-g71n7drq4r6+cyg_server')? (yes/no) yes > > *** Info: Please enter a password for new user > > win-g71n7drq4r6+cyg_server. Please be sure > > *** Info: that this password matches the password rules given on your > > system. > > *** Info: Entering no password will exit the configuration. > > *** Query: Please enter the password: > > *** Query: Reenter: > > > > *** Info: User 'win-g71n7drq4r6+cyg_server' has been created with > > password 'Su3per$ecr3t'. > > *** Info: If you change the password, please remember also to change the > > *** Info: password for the installed services which use (or will soon use) > > *** Info: the 'win-g71n7drq4r6+cyg_server' account. > > > > passwd: unknown user win-g71n7drq4r6+cyg_server > > *** Warning: Setting password expiry for user > > 'win-g71n7drq4r6+cyg_server' failed! > > This is weird. The same works for me: > > *** Query: Do you want to use a different name? (yes/no) yes > *** Query: Enter the new user name: blubber > *** Query: Reenter: blubber > > *** Query: Create new privileged user account 'my_machine\blubber' (Cygwin > name: 'my_machine+blubber')? (yes/no) yes > *** Info: Please enter a password for new user my_machine+blubber. Please > be sure > *** Info: that this password matches the password rules given on your > system. > *** Info: Entering no password will exit the configuration. > *** Query: Please enter the password: > *** Query: Reenter: > > *** Info: User 'my_machine+blubber' has been created with password > 'blubber'. > *** Info: If you change the password, please remember also to change the > *** Info: password for the installed services which use (or will soon use) > *** Info: the 'my_machine+blubber' account. > > > *** Info: The sshd service has been installed under the 'my_machine+blubber' > *** Info: account. To start the service now, call `net start sshd' or > *** Info: `cygrunsrv -S sshd'. Otherwise, it will start automatically > *** Info: after the next reboot. > > *** Info: Host configuration finished. Have fun! > > Is there a chance you have a non-Cygwin passwd tool in $PATH? > > > [...] > > At this point sshd and a cyg_server accounts exist and the service got > > created, however it's using the Local System account. > > You can change that in the Services GUI to the local cyg_server user. > > > I'm guessing this is just because the Local System account doesn't > > have the required privileges. > > Yes. > > > What do those processes (passwd, set password expiry and assigning > > appropriate privileges) need to succeed? > > I don't know why this occurs. As you can see above, it works for me. > > This is a completely new setup with the Cygwin distro updated to the > latest? csih 0.9.8-6? cygwin-2.0.4-1? > > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Maintainer cygwin AT cygwin DOT com > Red Hat -- Takashi Yano -- 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
Re: Problem with git and file mode changes
Adam, Ken, thank you for taking time to help me. (BTW, did you keep my address in CC? Because I didn't get any of your replies. I had to check the mailing list web archive [1]). BTW(2): For the record, some data points I forgot to give in my initial post: * The underlying filesystem is NTFS. * I did not have this problem some weeks ago, with the same system, Cygwin installation, and git repo. Therefore, some change/update in my system/environment must have introduced the problem. Ken's suggestion (setfacl -b test) didn't work, but it did work when I executed it on individual files (eg. 'test/rmailmm.el' instead of 'test'). So the problem is apparently fixed after doing: find . -exec setfacl -b {} \; Thank you so much. -- Dani Moncayo Footnotes: [1] https://cygwin.com/ml/cygwin/2015-09/ -- 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
Re: Problem with git and file mode changes
Greetings, Dani Moncayo! > Adam, Ken, thank you for taking time to help me. > (BTW, did you keep my address in CC? Because I didn't get any of your > replies. I had to check the mailing list web archive [1]). Per the very purpose of mailing list, you're expected to subscribe for conversation. You can't really expect people to go to the trouble of checking if they need to send additional copies or not. > BTW(2): For the record, some data points I forgot to give in my initial post: > * The underlying filesystem is NTFS. > * I did not have this problem some weeks ago, with the same > system, Cygwin installation, and git repo. Therefore, some > change/update in my system/environment must have introduced the problem. > Ken's suggestion (setfacl -b test) didn't work, but it did work when I > executed it on individual files (eg. 'test/rmailmm.el' instead of > 'test'). So the problem is apparently fixed after doing: > find . -exec setfacl -b {} \; > Thank you so much. The idea of resetting ACL's on the top-level directory is to have a clean start with the checkout. Doing it on an already existing tree may not yield desirable results… as you've discovered yourself. And if you ask me, a VCS that trying to preserve exact access mask is just asking for trouble. -- With best regards, Andrey Repin Saturday, September 5, 2015 14:40:23 Sorry for my terrible english...
XWin.exe not running any more.
Hi! Since yesterday starting "XWin.exe -multiwindow -clipboard" starts, but stops after short. It doesn't keep running and X11 is not usable. After starting I only see: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.17.2.0 OS: CYGWIN_NT-6.1 nc403-muc 2.2.1(0.289/5/3) 2015-08-20 11:42 x86_64 OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64) Package: version 1.17.2-3 built 2015-08-25 XWin was started with the following command line: /usr/bin/XWin -multiwindow -clipboard ddxProcessArgument - Initializing default screens winInitializeScreenDefaults - primary monitor w 1920 h 1200 winInitializeScreenDefaults - native DPI x 96 y 96 [ 134.862] (II) xorg.conf is not supported [ 134.862] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information [ 134.862] LoadPreferences: /cygdrive/c/Users/sct-muc.BFS/.XWinrc not found [ 135.830] LoadPreferences: Loading /etc/X11/system.XWinrc [ 135.830] LoadPreferences: Done parsing the configuration file... [ 135.830] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL [ 135.830] winDetectSupportedEngines - Returning, supported engines 0005 [ 135.830] winSetEngine - Multi Window or Rootless => ShadowGDI [ 135.830] winScreenInit - Using Windows display depth of 32 bits per pixel [ 136.906] winAllocateFBShadowGDI - Creating DIB with width: 1920 height: 1200 depth: 32 [ 136.906] winFinishScreenInitFB - Masks: 00ff ff00 00ff [ 136.906] winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 [ 137,062] MIT-SHM extension disabled due to lack of kernel support [ 137,062] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel [ 137,093] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll' The tray-icon is displayed, but vanishes as soon you try to hover it. XWin.exe is terminated. If I start XWin.exe without any options it opens a window and keeps running. Same if I start it without "-multiwindow". Looks to me like "-multiwindow" is broken. Any ideas? -- Thomas -- 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
Re: XWin.exe not running any more.
Tried some other options: - xwin -multiwindow -> starts, then terminates. No error message - xwin -mwextwm -> starts, then terminates. Error: window-manage not found - xwin -internalwm -> starts, then terminates. No error message - xwin -rootless -internalwm -> starts. no keypresses accepted any more until CTRL-ALT-BCKSPC terminates X11 - xwin -rootless -> starts, but no Window-Manager until I start one. - xwin -> starts with Window, but no Windows-Manager until I start one. 2015-09-05 14:14 GMT+02:00 Thomas Schweikle : > Hi! > > Since yesterday starting "XWin.exe -multiwindow -clipboard" starts, > but stops after short. It doesn't keep running and X11 is not usable. > > After starting I only see: > Welcome to the XWin X Server > Vendor: The Cygwin/X Project > Release: 1.17.2.0 > OS: CYGWIN_NT-6.1 nc403-muc 2.2.1(0.289/5/3) 2015-08-20 11:42 x86_64 > OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64) > Package: version 1.17.2-3 built 2015-08-25 > > XWin was started with the following command line: > > /usr/bin/XWin -multiwindow -clipboard > > ddxProcessArgument - Initializing default screens > winInitializeScreenDefaults - primary monitor w 1920 h 1200 > winInitializeScreenDefaults - native DPI x 96 y 96 > [ 134.862] (II) xorg.conf is not supported > [ 134.862] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html > for more information > [ 134.862] LoadPreferences: /cygdrive/c/Users/sct-muc.BFS/.XWinrc not found > [ 135.830] LoadPreferences: Loading /etc/X11/system.XWinrc > [ 135.830] LoadPreferences: Done parsing the configuration file... > [ 135.830] winDetectSupportedEngines - DirectDraw4 installed, > allowing ShadowDDNL > [ 135.830] winDetectSupportedEngines - Returning, supported engines 0005 > [ 135.830] winSetEngine - Multi Window or Rootless => ShadowGDI > [ 135.830] winScreenInit - Using Windows display depth of 32 bits per pixel > [ 136.906] winAllocateFBShadowGDI - Creating DIB with width: 1920 > height: 1200 depth: 32 > [ 136.906] winFinishScreenInitFB - Masks: 00ff ff00 00ff > [ 136.906] winInitVisualsShadowGDI - Masks 00ff ff00 > 00ff BPRGB 8 d 24 bpp 32 > [ 137,062] MIT-SHM extension disabled due to lack of kernel support > [ 137,062] XFree86-Bigfont extension local-client optimization > disabled due to lack of shared memory support in the kernel > [ 137,093] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll' > > The tray-icon is displayed, but vanishes as soon you try to hover it. > XWin.exe is terminated. > > If I start XWin.exe without any options it opens a window and keeps > running. Same if I start it without "-multiwindow". Looks to me like > "-multiwindow" is broken. Any ideas? > > -- > Thomas -- Thomas -- 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
Mailing list CCing etiquette [Was: Problem with git and file mode changes]
On Sat, Sep 05, 2015 at 12:13:51PM +0200, Dani Moncayo wrote: > (BTW, did you keep my address in CC? Because I didn't get any of your > replies. I had to check the mailing list web archive [1]). Standard procedure on this list (which I think is different to most such lists, but it's afaik what this list has always done) is to only CC people if there's an explicit reason to assume they're not subscribed (which normally means because they've said so). Otherwise we just assume they've subscribed to the list and will see responses that way. -- 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
[ANNOUNCEMENT] Updated: stunnel 5.23-1
A new version of stunnel, 5.23-1, is available in the Cygwin distribution. This is a new upstream release that adds SOCKS support in the client, among other new features and bug fixes. See http://www.stunnel.org/sdf_ChangeLog.html for the list of changes since the previous release, version 5.20. stunnel is a program that allows you to encrypt arbitrary TCP connections inside TLS (Transport Layer Security, formerly known as Secure Sockets Layer (SSL)). stunnel can allow you to secure non-TLS-aware daemons and protocols (like POP, IMAP, LDAP, etc) by having stunnel provide the encryption, requiring no changes to the daemon's code. Andrew E. Schulman *** To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain.com_at_cygwin.com If you need more information on unsubscribing, start reading here: http://cygwin.com/lists.html#subscribe-unsubscribe Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
[ANNOUNCEMENT] Updated: screen 4.3.1-1
A new version of screen, 4.3.1-1, is available in Cygwin x86. This is a new upstream release, with new features and bug fixes since the previous release, 4.2.1. See https://savannah.gnu.org/news/?group=screen for the list of changes. screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells. Each virtual terminal provides the functions of the DEC VT100 terminal and, in addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line and support for multiple character sets). There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows the user to move text regions between windows. When screen is called, it creates a single window with a shell in it (or the specified command) and then gets out of your way so that you can use the program as you normally would. Then, at any time, you can create new (full-screen) windows with other programs in them (including more shells), kill the current window, view a list of the active windows, turn output logging on and off, copy text between windows, view the scrollback history, switch between windows, etc. All windows run their programs completely independent of each other. Programs continue to run when their window is currently not visible and even when the whole screen session is detached from the user's terminal. Andrew E. Schulman *** To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain.com_at_cygwin.com If you need more information on unsubscribing, start reading here: http://cygwin.com/lists.html#subscribe-unsubscribe Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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
Re: gdb arbitrarily starting threads
On Wed, Jun 24, 2015 at 10:33 AM, Eli Zaretskii wrote: > People who can reproduce this problem and can also build their own GDB > are encouraged to try the patch posted here: > > https://sourceware.org/ml/gdb/2015-06/msg00071.html > > and report whether it solves the problem on Cygwin. (I already > verified that the native MinGW debugging is fixed by that patch.) Any prognosis for if/when a version of gdb containing this patch might make it to Cygwin? -- William M. (Mike) Miller | Edison Design Group william.m.mil...@gmail.com -- 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
[ANNOUNCEMENT] Updated: tinyxml2-3.0.0-1
The following packages have been updated in the Cygwin distribution: * libtinyxml2-devel-3.0.0-1 * libtinyxml2_3-3.0.0-1 TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programmes. This is an update to the latest upstream release. Dave. -- 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
[ANNOUNCEMENT] Updated: cppcheck-1.70-1
The following packages have been updated in the Cygwin distribution: * cppcheck-1.70-1 * cppcheck-gui-1.70-1 Cppcheck is a static analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools it does not detect syntax errors in the code. Cppcheck primarily detects the types of bugs that the compilers normally do not detect. The goal is to detect only real errors in the code (i.e. have zero false positives). This is an update to the latest upstream release. Dave. -- 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
Re: XWin.exe not running any more.
add "exec sleep infinity" to ~/.startxwinrc -Chris On Sat, Sep 5, 2015 at 6:14 AM, Thomas Schweikle wrote: > Hi! > > Since yesterday starting "XWin.exe -multiwindow -clipboard" starts, > but stops after short. It doesn't keep running and X11 is not usable. > > After starting I only see: > Welcome to the XWin X Server > Vendor: The Cygwin/X Project > Release: 1.17.2.0 > OS: CYGWIN_NT-6.1 nc403-muc 2.2.1(0.289/5/3) 2015-08-20 11:42 x86_64 > OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64) > Package: version 1.17.2-3 built 2015-08-25 > > XWin was started with the following command line: > > /usr/bin/XWin -multiwindow -clipboard > > ddxProcessArgument - Initializing default screens > winInitializeScreenDefaults - primary monitor w 1920 h 1200 > winInitializeScreenDefaults - native DPI x 96 y 96 > [ 134.862] (II) xorg.conf is not supported > [ 134.862] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html > for more information > [ 134.862] LoadPreferences: /cygdrive/c/Users/sct-muc.BFS/.XWinrc not found > [ 135.830] LoadPreferences: Loading /etc/X11/system.XWinrc > [ 135.830] LoadPreferences: Done parsing the configuration file... > [ 135.830] winDetectSupportedEngines - DirectDraw4 installed, > allowing ShadowDDNL > [ 135.830] winDetectSupportedEngines - Returning, supported engines 0005 > [ 135.830] winSetEngine - Multi Window or Rootless => ShadowGDI > [ 135.830] winScreenInit - Using Windows display depth of 32 bits per pixel > [ 136.906] winAllocateFBShadowGDI - Creating DIB with width: 1920 > height: 1200 depth: 32 > [ 136.906] winFinishScreenInitFB - Masks: 00ff ff00 00ff > [ 136.906] winInitVisualsShadowGDI - Masks 00ff ff00 > 00ff BPRGB 8 d 24 bpp 32 > [ 137,062] MIT-SHM extension disabled due to lack of kernel support > [ 137,062] XFree86-Bigfont extension local-client optimization > disabled due to lack of shared memory support in the kernel > [ 137,093] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll' > > The tray-icon is displayed, but vanishes as soon you try to hover it. > XWin.exe is terminated. > > If I start XWin.exe without any options it opens a window and keeps > running. Same if I start it without "-multiwindow". Looks to me like > "-multiwindow" is broken. Any ideas? > > -- > Thomas > > -- > 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 > -- 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
Sshd behaving strangely...
Greetings, I have installed Cygwin on a Windows 8.1 Enterprise workstation. It is a most recent full download of the whole Cygwin suite (within a week or so). Here are the relevant numbers: Windows 8.1 Enterprise Ver 6.3 Build 9600 [...] Cygwin DLL version info: DLL version: 2.2.1 DLL epoch: 19 DLL old termios: 5 DLL malloc env: 28 Cygwin conv: 181 API major: 0 API minor: 289 Shared data: 5 DLL identifier: cygwin1 Mount registry: 3 Cygwin registry name: Cygwin Installations name: Installations Cygdrive default prefix: Build date: Shared id: cygwin1S5 I don't provide a full dump at this stage, but I will if the discussion veers this way. The sshd package is: openssh7.1p1-1 OK openssh-debuginfo 7.1p1-1 OK The workstation is slaved, security wise, to the enterprise Active Directory, but it has local accounts that are not, I run sshd and exim using cygrunsrv on it thusly: Service : exim Description : Mail Transfer Agent Current State : Running Controls Accepted : Stop Command : /usr/bin/exim -bdf -q15m Service : sshd Display name: CYGWIN sshd Current State : Running Controls Accepted : Stop Command : /usr/sbin/sshd -D -e Now about the weirdness... I can connect to this system from another machine that is on the same subnet, on the same desk actually, that runs a very old version of Linux and a very old version of ssh (version 3.9p1). The sshd daemon on the Windows machine does not let me make a connection using a passphrase, but I can make a connection using a password of the Windows user and this works just fine. The message that is printed on sshd.log when this happens looks as follows: userauth_pubkey: key type ssh-dss not in PubkeyAcceptedKeyTypes [preauth] Accepted password for root from [IP number here] port 36014 ssh2 However, when I try to make a connection from another machine that runs Cygwin version 1.7.35 ssh version 6.8p1-1 the connection is rejected and the following message is printed in sshd.log: seteuid 1214318: Operation not permitted Now, I've checked the mailing list and I see that problems with sshd configuration are not uncommon. This particular problem with "Operation not permitted" was solved by David Koppenhofer by "asking the network admin to give 'Create a token object' to the service account." So, this problem appears to be a feature, perhaps, rather than a bug. But if this is so, then isn't the acceptance of the password and successful login into the account from the ancient version of ssh on the ancient Linux machine a... security bug? General question: how to configure sshd on Windows 8.1 Enterprise slaved to an Active Directory? Is there a document on-line somewhere that outlines the steps? Also, are any ports other than 22 involved on the sshd server machine? Zdzislaw (Gustav) Meglicki Indiana University -- 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