Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-22 Thread Mark Geisert via Cygwin
Drat, typo alert: It looks to me like that 'if' statement should read   if (mbstowcs (*wcs_path, *mbs_path, len) ... if (mbstowcs (*wcspath, mbs_path, len) ... ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: cygstart: buffer overflow when a URI is passed (cygutils-1.4.17-[23])

2025-04-22 Thread Mark Geisert via Cygwin
Hi Christian, On 4/12/2025 9:37 AM, Christian Franke via Cygwin wrote: ggl329 via Cygwin wrote: Hi all, I've encountered a possible bug in cygstart. It seems to abort when a URI is passed to it. $ cygcheck -dc | grep cygutils cygutils    1.4.17-3 $ cygstart https:

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 22:05, Mark Geisert via Cygwin wrote: Welp, that's no help at all.  Let me try to reproduce the problem on my Win10 system using the same, recent, WinFSP you have.  This may take some time.  I appreciate your reporting the problem and helping me debug. Thanks & Regards, ..mark Th

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
Hi David, On 4/22/2025 9:55 PM, David Christensen via Cygwin wrote: That's completely normal.  Hmm.  Time for the big gun... strace. Run the following command, then *attach* its output file to your next reply; don't compress, just attach. strace -o sshfs.trace sshfs -h The output file is

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 9:32 PM, David Christensen via Cygwin wrote: On 4/22/25 21:30, Mark Geisert via Cygwin wrote: Then it's odd they don't appear in the ldd output.  How about trying cygcheck /usr/bin/sshfs.exe i.e., no options on cygcheck.  What does that output? ..mark 2025-04-22 20:48:27 ad

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
That's completely normal.  Hmm.  Time for the big gun... strace. Run the following command, then *attach* its output file to your next reply; don't compress, just attach.     strace -o sshfs.trace sshfs -h The output file is sshfs.trace in the directory you run sshfs from. Thanks much, ..mark

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 21:30, Mark Geisert via Cygwin wrote: Then it's odd they don't appear in the ldd output.  How about trying     cygcheck /usr/bin/sshfs.exe i.e., no options on cygcheck.  What does that output? ..mark 2025-04-22 20:48:27 admin@dq67sw ~ $ cygcheck /usr/bin/sshfs.exe C:\cygwin64\bin\

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 9:08 PM, David Christensen via Cygwin wrote: On 4/22/25 21:01, Mark Geisert via Cygwin wrote: Now we're getting somewhere!  One or more of the following packages are missing from your Cygwin system.  Use the Cygwin Setup program to add them if not already installed: libiconv2

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 21:01, Mark Geisert via Cygwin wrote: Now we're getting somewhere!  One or more of the following packages are missing from your Cygwin system.  Use the Cygwin Setup program to add them if not already installed:     libiconv2     libintl8     libgcc1 (you likely already have this)

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 8:50 PM, David Christensen via Cygwin wrote: On 4/22/25 20:35, Mark Geisert via Cygwin wrote: On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: 2025-04-22 20:07:20 admin@dq67sw ~ $ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist 2025-04-22 20:07:38 admin@dq6

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 20:35, Mark Geisert via Cygwin wrote: On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: 2025-04-22 20:07:20 admin@dq67sw ~ $ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist 2025-04-22 20:07:38 admin@dq67sw ~ $ echo $? 127 The 127 exit code indicates sshfs its

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: On 4/22/25 19:31, Mark Geisert via Cygwin wrote: A peculiarity of Cygwin sshfs on Windows is that the directory being mounted on ('/samba' in your case) must not exist before starting sshfs. If that doesn't help, please do echo $?

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 19:31, Mark Geisert via Cygwin wrote: Hi David, I have run the WinFsp installer, leaving component selections at default: WinFsp Core -> Will be installed on local hard drive Looks good. When I use Cygwin sshfs(1) to mount the file server dire

Re: posix_spawn

2025-04-22 Thread Mark Geisert via Cygwin
Hi Camm, On 4/22/2025 12:31 PM, Camm Maguire via Cygwin-apps wrote: Greetings! posix_spawnp is returning 10, or ECHILD, on the following call. At least on my first reading (:-)), ECHILD is not one of the documented errors for fork, vfork, or clone referenced by the Linux manpage for posix_spaw

Re: Windows 10 Home and sshfs

2025-04-22 Thread Mark Geisert via Cygwin
Hi David, On 4/22/2025 6:58 PM, David Christensen via Cygwin wrote: cygwin: I have SOHO network with a FreeBSD file server: 2025-04-22 18:55:28 toor@f5 ~ # freebsd-version ; uname -a 13.4-RELEASE-p4 FreeBSD f5.tracy.holgerdanske.com 13.4-RELEASE-p3 FreeBSD 13.4-RELEASE- p3 GENERIC amd64 I

Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
cygwin: I have SOHO network with a FreeBSD file server: 2025-04-22 18:55:28 toor@f5 ~ # freebsd-version ; uname -a 13.4-RELEASE-p4 FreeBSD f5.tracy.holgerdanske.com 13.4-RELEASE-p3 FreeBSD 13.4-RELEASE-p3 GENERIC amd64 I have a Windows 10 Home client with Cygwin: 2025-04-22 18:03:21 admin@d

Re: Permission issues in multiple packages

2025-04-22 Thread Andrew Schulman via Cygwin
On Wed, 23 Apr 2025 03:48:19 +0900, ggl329 via Cygwin wrote: >Hi all, > >As Jon mentioned in the following mail, something may go wrong in the VM for >building packages. >https://cygwin.com/pipermail/cygwin/2025-April/257948.html > >Many files/directories don't have permissions for non-privilege

Sourceware infrastructure updates for Q1 2025

2025-04-22 Thread Mark Wielaard via Cygwin
Sourceware infrastructure community updates for Q1 2025 Sourceware has provided the infrastructure for core toolchain and developer tools projects for more than 25 years. https://sourceware.org/sourceware-25-roadmap.html Over the last couple of years, Sourceware has transformed from a purely volu

Re: Permission issues in multiple packages

2025-04-22 Thread Andrew Schulman via Cygwin
On Wed, 23 Apr 2025 03:48:19 +0900, ggl329 via Cygwin wrote: >Hi all, > >As Jon mentioned in the following mail, something may go wrong in the VM for >building packages. >https://cygwin.com/pipermail/cygwin/2025-April/257948.html > >Many files/directories don't have permissions for non-privilege

Re: posix_spawn

2025-04-22 Thread Camm Maguire via Cygwin
Greetings! posix_spawnp is returning 10, or ECHILD, on the following call. At least on my first reading (:-)), ECHILD is not one of the documented errors for fork, vfork, or clone referenced by the Linux manpage for posix_spawnp. Suggestions? Take care,

Permission issues in multiple packages

2025-04-22 Thread ggl329 via Cygwin
Hi all, As Jon mentioned in the following mail, something may go wrong in the VM for building packages. https://cygwin.com/pipermail/cygwin/2025-April/257948.html Many files/directories don't have permissions for non-privileged users. These packages are examples I found. Other packages may have

Re: posix_spawn

2025-04-22 Thread Camm Maguire via Cygwin
Greetings, and thanks so much! Mark Geisert via Cygwin-apps writes: > On 4/19/2025 1:42 PM, Camm Maguire via Cygwin-apps wrote: >> Greetings! >> posix_spawn is returning non-zero without setting errno: >>massert(!posix_spawnp(&pid, *p1, &file_actions, &attr, (void >> *)p1, environ)); >> Is

Re: Cygwin SSHD session unable to access cloud/OneDrive files

2025-04-22 Thread Shaddy Baddah via Cygwin
Hi, On 8/04/2025 9:14 pm, Corinna Vinschen via Cygwin wrote: On Apr 4 16:23, Shaddy Baddah via Cygwin wrote: On 4/04/2025 10:02 am, Shaddy Baddah via Cygwin wrote: Hi, On 4/04/2025 4:49 am, ASSI via Cygwin wrote: Shaddy Baddah via Cygwin writes: If I connect an SSH session via the "native"