Re: Mounted shares not visible in bash "Run as Administrator"

2025-04-07 Thread Thomas Wolff via Cygwin
Am 08.04.2025 um 03:04 schrieb Jim Garrison via Cygwin: I just ran across this today.  In a normal session all my remote mounts (NTFS, file server running Win10) are visible.  In a session that is "Run as administrator", none of the mounts are visible. Is there a configuration parameter that w

Mounted shares not visible in bash "Run as Administrator"

2025-04-07 Thread Jim Garrison via Cygwin
I just ran across this today. In a normal session all my remote mounts (NTFS, file server running Win10) are visible. In a session that is "Run as administrator", none of the mounts are visible. Is there a configuration parameter that would make mounts visible in the administrator session?

RE: Opt in Contacts at ATD25 International Conference & EXPO - Association for Talent Development

2025-04-07 Thread Isolde Frost via Cygwin
Hi, I hope you are doing well!! Just floating this to the top of your inbox in case you missed it. Let me know if you need additional details. Regards, Isolde - Promotions Coordinator If you do not wish to receive any future mails from us reply us Not Interested From: Isolde Frost Sent: Mon

RE: [EXTERNAL] Re: unix socket hang when connect

2025-04-07 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> I'm agree with you, but on other *nix platforms, and even on Windows with > winsock and AF_UNIX, connect() doesn't wait for accept(). I would like such > behavior. The behavior that connect() does not require accept() from the other end is platform-specific. It's your other system's courtesy, a

Re: Qt6 in Cygwin?

2025-04-07 Thread Cedric Blancher via Cygwin
On Mon, 31 Mar 2025 at 10:39, Carlo B. wrote: > > Hello, > at the moment, I ported qtbase from Qt6 and I contributed patches to > the friends at Qt codereview. > Hopefully, many of these patches have been accepted and they should be > available into the next version 6.9, because I don't think that

Re: [ITA] acl man pages

2025-04-07 Thread Brian Inglis via Cygwin
[x-post/f-u to apps] On 2025-04-01 08:46, Brian Inglis wrote: On 2025-04-01 02:37, Corinna Vinschen via Cygwin wrote: On Mar 31 23:26, Brian Inglis via Cygwin wrote: On 2025-03-31 12:49, Corinna Vinschen via Cygwin wrote: On Mar 31 12:35, Brian Inglis via Cygwin wrote: Has anyone a feel if t

Re: unix socket hang when connect

2025-04-07 Thread Christian Franke via Cygwin
Yuyi Wang via Cygwin wrote: Thank you Christian, setting SO_PEERCRED on the client socket works. It's a little wierd, though. Is it OK to always set it to NULL on a unix socket? No, this is a Cygwin extension, originally added for postfix. -- Regards, Christian -- Problem reports: https

Re: unix socket hang when connect

2025-04-07 Thread Yuyi Wang via Cygwin
Thank you Christian, setting SO_PEERCRED on the client socket works. It's a little wierd, though. Is it OK to always set it to NULL on a unix socket? -- Yuyi Wang -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https:/

Re: unix socket hang when connect

2025-04-07 Thread Christian Franke via Cygwin
Yuyi Wang via Cygwin wrote: Below is a simple unix socket testing code. It creates a unix socket server and a client to connect to it immediately. It works on Linux and macOS, but hangs on cygwin. bind + listen work well, but seems that the connect method never returns. #include #include #in

Re: unix socket hang when connect

2025-04-07 Thread Yuyi Wang via Cygwin
> I guess connect() just is just waiting accept(). I'm agree with you, but on other *nix platforms, and even on Windows with winsock and AF_UNIX, connect() doesn't wait for accept(). I would like such behavior. -- Yuyi Wang -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: symbolic link curiousity in 3.6.0

2025-04-07 Thread Paul Eggert via Cygwin
On 2025-04-04 10:40, Pádraig Brady wrote: Is this patch is OK to be applied to gnulib, with the tweaks Corinna mentioned? Yes, I did that just now, and propagated it into coreutils. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documen

Re: symbolic link curiousity in 3.6.0

2025-04-07 Thread Paul Eggert via Cygwin
On 2025-03-30 05:50, Corinna Vinschen wrote: The definition of O_PATH requires an additional #include Thanks, I added that and installed the patch into Gnulib. However, assuming not only Cygwin is affected, shouldn't the patch rather use O_PATH if it's available, O_RDONLY if not? I h

Re: unix socket hang when connect

2025-04-07 Thread Takashi Yano via Cygwin
On Mon, 7 Apr 2025 15:08:32 +0800 Yuyi Wang wrote: > Below is a simple unix socket testing code. It creates a unix socket server > and > a client to connect to it immediately. It works on Linux and macOS, but hangs > on > cygwin. bind + listen work well, but seems that the connect method never

ftruncate() may fail with EISDIR if other process calls open()

2025-04-07 Thread Christian Franke via Cygwin
Found because 'stress-ng --fcntl 2 --verify' reports "ftruncate failed, errno=21": Testcase: $ uname -r # also with 3.6.0-1 and 3.5.7-1 3.7.0-0.43.g779e46b5b3ee.x86_64 $ cat ftruncopen.c #include #include #include #include int main() {   const char name[] = "file.tmp";   unlink(name);  

unix socket hang when connect

2025-04-07 Thread Yuyi Wang via Cygwin
Below is a simple unix socket testing code. It creates a unix socket server and a client to connect to it immediately. It works on Linux and macOS, but hangs on cygwin. bind + listen work well, but seems that the connect method never returns. #include #include #include #include #include #in