Issue with email -a (Zip files)

2020-01-30 Thread Priyanka Joshi
Hi Team, I am facing issue when I am trying to send zip file as attachment, same command works fine for xml file. PFB commands for reference: email -s "BHN Test Automation Report" -a allure-report.zip priyanka.jo...@bhnetwork.com ==> Not triggering

Fwd:

2020-01-30 Thread Damian Harty
  Cygwin          https://u.to/nQJWFw          Damian Harty -- Forwarded message - From: Damian Harty Date: Thursday, January 30, 2020 02:58:08 PM Subject: To:   https://search.yahoo.com/search?p==h198q7kh1kp8sdwk -- Problem reports:

Re: headache on build repeatibility: octave vs BLODA ?

2020-01-30 Thread Marco Atzeri
Am 30.01.2020 um 22:05 schrieb Brian Inglis: On 2020-01-29 06:46, Takashi Yano wrote: Hi Marco, On Wed, 29 Jan 2020 13:19:11 +0100 Marco Atzeri wrote: As Octave uses gnulib, it is possible that the changes in MS are causing a different subset of gnulib to be used than before, may be exposing

Re: sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Takashi Yano
On Thu, 30 Jan 2020 12:33:28 -0700 Bill Stewart wrote: > On Thu, Jan 30, 2020 at 9:46 AM Takashi Yano wrote: > > I believe you do not need winpty anymore because newer cygwin > > utilizes pseudo console in pty. > > Since this package is still used for older OS versions, I will still > need winpty

Re: sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Bill Stewart
Thank you for the assistance! I released the latest version of my installer, now available (under "Releases" tab) here: https://github.com/Bill-Stewart/Cygwin-OpenSSH Bill -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Issue with email -a (Zip files)

2020-01-30 Thread Brian Inglis
On 2020-01-30 02:21, Priyanka Joshi wrote: > I am facing issue when I am trying to send zip file as attachment, same > command works fine for xml file. > > PFB commands for reference: > > Below command worked fine and sent testng.xml as attachment > email -s "BHN Test Automation Report" -a

How to fix mv under SMB/CIFS?

2020-01-30 Thread René Berber
Hi, Main question is how to make mv behave intelligently when used in SMB filesystem? Its probably obvious but "intelligently" in this context means do simple move between the same file system (SMB to same SMB), and only use copy-delete under different file systems (usually different

Re: Pipes bug when spawning non-cygwin processes

2020-01-30 Thread Takashi Yano
On Thu, 30 Jan 2020 14:03:50 -0500 Edward Lam wrote: > I'm getting a problem where cygwin parent processes spawning non-cygwin > child processes no longer detect when stdin has been closed. Please see the > sample python code at the end where I've isolated the problem. I've got > cygwin's python2

Re: hardlinks on directories?

2020-01-30 Thread Eric Blake
On 1/30/20 12:15 PM, Ulli Horlacher wrote: (I am a UNIX senior admin, but have VERY few knowledge on Windows) UNIX does not support hard links on directories (in opposite to Windows?). Windows does not either. Are this directory hard links? No, rather they are parallel mount points (the

RE: Issue with email -a (Zip files)

2020-01-30 Thread Priyanka Joshi
Thanks Brian! Can you please let me know if there is any way to check SMTP error logs for the email not getting sent. I am trying to enable the logs but facing issue with inetmgr.dll and smtpsnap.dll and not seeing SMTP option under IIS. PFB updates on the steps shared: >which email

Re: Pipes bug when spawning non-cygwin processes

2020-01-30 Thread Edward Lam
On Thu, Jan 30, 2020 at 5:25 PM Takashi Yano wrote: > Probably, this is the same issue as > https://www.cygwin.com/ml/cygwin/2020-01/msg00093.html. > > Please try latest cygwin snapshot. > https://cygwin.com/snapshots/ > > Indeed, this works again after 20202401 snapshot! Thanks, -Edward --

sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Bill Stewart
I have created an OpenSSH installer for Windows users: https://github.com/Bill-Stewart/Cygwin-OpenSSH Basically it includes only the minimum files from Cygwin needed to run OpenSSH and has some additional conveniences (the foremost of which is to automatically install the service). The problem:

Re: sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Takashi Yano
On Thu, 30 Jan 2020 09:27:34 -0700 Bill Stewart wrote: > I have created an OpenSSH installer for Windows users: > > https://github.com/Bill-Stewart/Cygwin-OpenSSH > > Basically it includes only the minimum files from Cygwin needed to run > OpenSSH and has some additional conveniences (the

hardlinks on directories?

2020-01-30 Thread Ulli Horlacher
(I am a UNIX senior admin, but have VERY few knowledge on Windows) UNIX does not support hard links on directories (in opposite to Windows?). I found: /: uname -a CYGWIN_NT-10.0 W10dev 3.1.2(0.340/5/3) 2019-12-21 15:25 x86_64 Cygwin /: ls -ldi /bin /usr/bin 281474976929589 drwxr-xr-x+ 1 admin

Pipes bug when spawning non-cygwin processes

2020-01-30 Thread Edward Lam
Hi Folks, I'm getting a problem where cygwin parent processes spawning non-cygwin child processes no longer detect when stdin has been closed. Please see the sample python code at the end where I've isolated the problem. I've got cygwin's python2 running spawn_bar.py that popen's a native

Re: sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Bill Stewart
On Thu, Jan 30, 2020 at 9:46 AM Takashi Yano wrote: > Bill Stewart wrote: > > > > When I use cygwin1.dll versions newer than 3.0.7, sshd.exe hangs > > whenever establishing a connection. > > ... > > Any ideas? > > You need cygwin-console-helper.exe for newer cygwin pty which > supports pseudo

Re: sshd sessions hang after cygwin1.dll 3.0.7

2020-01-30 Thread Bill Stewart
On Thu, Jan 30, 2020 at 12:33 PM Bill Stewart wrote: > I added cygwin-console-helper.exe and this resolved it, at least on > Windows 10. My next step is to test on Server 2012 R2. Tested, and works fine also on Server 2012 R2. Thanks for the help! Bill -- Problem reports:

Re: headache on build repeatibility: octave vs BLODA ?

2020-01-30 Thread Brian Inglis
On 2020-01-29 06:46, Takashi Yano wrote: > Hi Marco, > > On Wed, 29 Jan 2020 13:19:11 +0100 > Marco Atzeri wrote: >> As Octave uses gnulib, it is possible that the changes in MS are causing >> a different subset of gnulib to be used than before, may be exposing >> a latent bug or race. >> >>

[PATCH] Cygwin: fstat_helper: always use handle in call to get_file_attribute

2020-01-30 Thread Ken Brown
When fhandler_base::fstat_helper is called, the handle h returned by get_stat_handle() should be pc.handle() and should be safe to use for getting the file information. Previously, the call to get_file_attribute() for FIFOs set the first argument to NULL instead of h, thereby forcing the file to

Re: [PATCH 0/3] Some O_PATH fixes

2020-01-30 Thread Ken Brown
On 1/29/2020 9:22 AM, Corinna Vinschen wrote: On Jan 29 10:52, Corinna Vinschen wrote: On Jan 29 03:08, Ken Brown wrote: On 1/28/2020 3:48 PM, Ken Brown wrote: On 1/28/2020 2:01 PM, Ken Brown wrote: On 1/28/2020 12:06 PM, Corinna Vinschen wrote: As outlined on IRC, I found a problem with

[newlib-cygwin] Cygwin: AF_LOCAL: set appropriate errno on system calls

2020-01-30 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=141437d37440572b5452e941df3d4454f0c4378b commit 141437d37440572b5452e941df3d4454f0c4378b Author: Ken Brown Date: Thu Jan 23 15:11:15 2020 -0500 Cygwin: AF_LOCAL: set appropriate errno on system calls If an AF_LOCAL

[newlib-cygwin] Cygwin: AF_LOCAL: allow opening with the O_PATH flag

2020-01-30 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3a2191653ac979f494aa2797942bd96414cedde8 commit 3a2191653ac979f494aa2797942bd96414cedde8 Author: Ken Brown Date: Thu Jan 23 14:39:15 2020 -0500 Cygwin: AF_LOCAL: allow opening with the O_PATH flag If that flag is not

[newlib-cygwin] Cygwin: AF_LOCAL::fstatvfs: use our handle if O_PATH is set

2020-01-30 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=23cb58af623c457639fdcf97c1990edda0508d5c commit 23cb58af623c457639fdcf97c1990edda0508d5c Author: Ken Brown Date: Sat Jan 25 07:45:10 2020 -0500 Cygwin: AF_LOCAL::fstatvfs: use our handle if O_PATH is set If O_PATH is

[newlib-cygwin] Cygwin: AF_LOCAL: fix fcntl and dup if O_PATH is set

2020-01-30 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=477121317d01b37d0f6c84f7724487ecf8a9fbbe commit 477121317d01b37d0f6c84f7724487ecf8a9fbbe Author: Ken Brown Date: Sat Jan 25 13:08:00 2020 -0500 Cygwin: AF_LOCAL: fix fcntl and dup if O_PATH is set Make

[newlib-cygwin] Cygwin: document recent changes

2020-01-30 Thread Ken Brown
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1cc07f3a3ea162d5f39ffeea54a74147754d3649 commit 1cc07f3a3ea162d5f39ffeea54a74147754d3649 Author: Ken Brown Date: Wed Jan 29 12:09:49 2020 -0500 Cygwin: document recent changes Diff: --- winsup/cygwin/release/3.1.3 | 2 ++