Cygwin 3.7 wishlist: read/write NTFS alternate data streams via openat(O_XATTR)

2025-03-24 Thread Martin Wege via Cygwin
()), but the virtual XATTR dir might be a challenge (beyond my skill at least). Thanks, Martin -- Forwarded message - From: Martin Wege Date: Thu, Nov 30, 2023 at 4:55 AM Subject: Cygwin tools to read/write NTFS alternate data streams? To: Hello, Does Cygwin have tools (modified

Re: Cygwin 3.6 on Windows 8?

2025-03-10 Thread Martin Wege via Cygwin
orks with all recent, commercially released x86_64 versions of Windows, starting with Windows 8.1. For more information see the FAQ." Whether Windows 8.1 is really still supported for Cygwin 3.6, that only Corinna can answer. Thanks, Martin -- Problem reports: https://cyg

Implementing posix_fadvise()?

2025-02-21 Thread Martin Wege via Cygwin
Hello! Could Cygwin implement posix_fadvise()? Which Windows API would be suitable to map posix_fadvise() functionality? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

Re: https://github.com/mirror/newlib-cygwin not getting updates

2025-02-21 Thread Martin Wege via Cygwin
On Fri, Feb 21, 2025 at 11:33 AM Corinna Vinschen via Cygwin < cygwin@cygwin.com> wrote: > > On Feb 20 23:49, Martin Wege via Cygwin wrote: > > Hello! > > > > FYI https://github.com/mirror/newlib-cygwin has not been getting > > updates for months. Can anyone p

Re: UNC path for WebDAV with cd '\\webdavsrv@SSL\path' or cd '\\webdavsrv@23456\path' will not work

2025-02-21 Thread Martin Wege via Cygwin
On Fri, Feb 21, 2025 at 11:29 AM Corinna Vinschen via Cygwin wrote: > > On Feb 20 23:36, Martin Wege via Cygwin wrote: > > On Thu, Feb 20, 2025 at 9:37 PM Corinna Vinschen via Cygwin > > > And here's the problem. It works fine for me on all shares, be i

https://github.com/mirror/newlib-cygwin not getting updates

2025-02-20 Thread Martin Wege via Cygwin
Hello! FYI https://github.com/mirror/newlib-cygwin has not been getting updates for months. Can anyone please have a look? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

UNC path for WebDAV with cd '\\webdavsrv@SSL\path' or cd '\\webdavsrv@23456\path' will not work

2025-02-20 Thread Martin Wege via Cygwin
AddrInfoW returned. The code in https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=df307349a09e6f1ba75c78b1427dcea40f435e6e;hp=8a8fb570d7c5310a03a34b3dd6f9f8bb35ee9f40 is not going to work, because you only give ret as argument, but not "name+2" as hostname. And speaking of

List of packages installed by Cygwin setup.exe by default?

2025-02-08 Thread Martin Wege via Cygwin
Hello! Is there a list of packages (including all their dependencies!) which are installed by Cygwin setup.exe by default, e.g. start installer, click everything "yes", but do not select any extra packages? Thanks, Martin -- Problem reports: https://cygwin.com/problem

scp "lost connection" failure

2025-01-21 Thread Jay M Martin via Cygwin
Get random (but eventual) "lost connection" using scp (which uses sftp/sftp-server) when transferring huge files via 1G ethernet. No problem if use "scp -O" (don't use sftp protocol) or piping through ssh. Will also happen with a local scp via loopback (localhost) so not a network problem. Ru

Re: How to make Cygwin handle Unicode symbolic links?

2025-01-03 Thread Larry Martin via Cygwin
.com/cygwin-ug-net/cygcheck.html>, not symcheck ?  ( i've been "into" symbolic links in cygwin today so the title caught my eye ) what do you have for the CYGWIN environment variable,  I've been using winsymlinks:native eg   export CYGWIN=winsymlinks:native On Fri, Jan 3, 202

Re: Modify Cygwin sshd to support login into user SYSTEM?

2024-12-20 Thread Martin Wege via Cygwin
files in .ssh. > Once the permissions are sane you can run ssh-host-config again. WOW I tried that for Windows sshd, but only got a fatal: ga_init, unable to resolve user system in the logs. How can I do the same for Windows sshd too? Thanks, Martin -- Problem reports: https://

Re: Read Windows event log from via Cygwin /proc, /dev, ...?

2024-11-21 Thread Martin Wege via Cygwin
/proc or /sys > So you want to access the Windows "Ereignisanzeige" via /proc filesystem? Actually a cool idea, because then we could use find&grep to crawl the log for issues Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: ht

Re: [Ms-nfs41-client-devel] Windows Server NFS, getfact not working on NFS

2024-11-04 Thread Martin Wege via Cygwin
On Wed, Oct 30, 2024 at 8:46 AM Cedric Blancher via Cygwin wrote: > > On Tue, 29 Oct 2024 at 15:38, Corinna Vinschen via Cygwin > wrote: > > > > On Oct 29 13:56, Martin Wege via Cygwin wrote: > > > On Sun, Oct 6, 2024 at 8:53 AM Cedric Blancher > > > wro

Re: [Ms-nfs41-client-devel] WSL: Use ms-nfs41-client on WSL Linux?

2024-11-01 Thread Martin Wege via Cygwin
Thanks Cedric! On Wed, Oct 30, 2024 at 7:18 AM Cedric Blancher wrote: > > On Tue, 29 Oct 2024 at 14:13, Martin Wege wrote: > > > > Hello, > > > > How can I use ms-nfs41-client from a WSL Linux? > > WSL does not mount anything except C: at boot time. > &g

Re: [Ms-nfs41-client-devel] Windows Server NFS, getfact not working on NFS

2024-10-29 Thread Martin Wege via Cygwin
On Sun, Oct 6, 2024 at 8:53 AM Cedric Blancher wrote: > > On Sat, 5 Oct 2024 at 14:44, Martin Wege wrote: > > > > Greetings! > > > > If I mount a NFS filesystem from a Windows NFS4.1 server (Windows > > Server 2022) on Windows 10, then getfacl does not wo

Windows Server NFS, getfact not working on NFS

2024-10-05 Thread Martin Wege via Cygwin
Professional, with CYGWIN_NT-10.0-19045 3.5.4-1.x86_64 How can I debug this further? If I mount a NFS filesystem from Linux, getfact works. Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Martin Wege via Cygwin
On Sun, May 26, 2024 at 7:35 PM Andrey Repin wrote: > > Greetings, Martin Wege! > > >> Can Cygwin be installed as a normal user (without Admin rights) in a > >> > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > >> > > >>

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Martin Wege via Cygwin
On Sun, May 26, 2024 at 2:14 AM Bill Stewart via Cygwin wrote: > > On Sat, May 25, 2024 at 3:54 PM Martin Wege wrote: > > Can Cygwin be installed as a normal user (without Admin rights) in a > > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > > > &

LD_PRELOAD for Win32?

2024-05-25 Thread Martin Wege via Cygwin
Hello, Does Cygwin or Win32 have something like LD_PRELOAD, so I can override/substitute functions in a DLL or EXE, like it is common for UNIX/Linux ELF shared libraries? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq

Installing Cygwin as normal user in nonstandard location?

2024-05-25 Thread Martin Wege via Cygwin
Hello, Can Cygwin be installed as a normal user (without Admin rights) in a nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? Also, can this be done for more than one Cygwin version, e.g. I'd like to test multiple Cygwin versions in parallel. Thanks, Martin -- Problem re

Win32 FILE_BASIC_INFORMATION.*Time.QuadPart - which value should be used if filesystem does not support it, so Cygwin /usr/bin/stat lists the value as '-'?

2024-04-04 Thread Martin Wege via Cygwin
On Fri, Apr 5, 2024 at 2:05 AM Martin Wege wrote: > > Hello, > > I have problems with debugging, so a quick help would be appreciated, > as I cannot figure this out after several hours of digging. > > Cygwin /usr/bin/stat returns "Birth: -" for some files. Whic

Re: Cygwin /usr/bin/stat returns "Birth: -", which value in FILE_BASIC_INFORMATION.CreationTime causes that?

2024-04-04 Thread Martin Wege via Cygwin
On Fri, Apr 5, 2024 at 2:55 AM Brian Inglis via Cygwin wrote: > > On 2024-04-04 18:05, Martin Wege via Cygwin wrote: > > I have problems with debugging, so a quick help would be appreciated, > > as I cannot figure this out after several hours of digging. > > > >

Cygwin /usr/bin/stat returns "Birth: -", which value in FILE_BASIC_INFORMATION.CreationTime causes that?

2024-04-04 Thread Martin Wege via Cygwin
in/stat ti return "-"? 0, -1, or something else? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Implementing /bin/ionice, ioprio_set() support with FILE_IO_PRIORITY_HINT_INFO?

2024-04-02 Thread Martin Wege via Cygwin
INFO Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: Cygwin&Win32 file prefetch, block sizes?

2024-04-02 Thread Martin Wege via Cygwin
On Tue, Apr 2, 2024 at 3:17 PM Corinna Vinschen via Cygwin wrote: > > On Apr 2 02:04, Martin Wege via Cygwin wrote: > > Hello, > > > > Is there any document which describes how Cygwin and Win32 file > > prefetch and readahead work, and which sizes are used (e.g.

Cygwin&Win32 file prefetch, block sizes?

2024-04-01 Thread Martin Wege via Cygwin
s block size is really 64k? Is this info per filesystem, or hardcoded in Cygwin? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/

UNIX nobody/nogroup mapping to which Windows SID/account?

2024-03-03 Thread Martin Wege via Cygwin
dA() does not recognise. So what is the correct Win32 solution? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: openat(O_DIRECT) supported in Cygwin?

2024-03-03 Thread Martin Wege via Cygwin
On Wed, Feb 28, 2024 at 10:08 AM Corinna Vinschen via Cygwin wrote: > > On Feb 27 17:46, Martin Wege via Cygwin wrote: > > Hello, > > > > Does Cygwin support openat(O_DIRECT)? Which effect does O_DIRECT in > > Cygwin have, and which underlying Windows API is use

openat(O_DIRECT) supported in Cygwin?

2024-02-27 Thread Martin Wege via Cygwin
Hello, Does Cygwin support openat(O_DIRECT)? Which effect does O_DIRECT in Cygwin have, and which underlying Windows API is used? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com

Re: Cygwin sqlite locking debug options still available?

2024-02-17 Thread Martin Wege via Cygwin
On Tue, Feb 6, 2024 at 12:31 PM Martin Wege wrote: > > Hello! > > Is the debug mode for sqlite locking mode as described in > https://cygwin.cygwin.narkive.com/nkjMGQga/test-sqlite3-3-7-17-1-1-7-19-locking-feature > soehow still available? > > We sometimes get sqlite loc

Cygwin sqlite locking debug options still available?

2024-02-06 Thread Martin Wege via Cygwin
Hello! Is the debug mode for sqlite locking mode as described in https://cygwin.cygwin.narkive.com/nkjMGQga/test-sqlite3-3-7-17-1-1-7-19-locking-feature soehow still available? We sometimes get sqlite locking errors, and like to investigate what and why this fails Thanks, Martin -- Problem

Re: Cygwin tools to read/write NTFS alternate data streams?

2024-01-11 Thread Martin Wege via Cygwin
On Mon, Jan 8, 2024 at 3:11 PM Corinna Vinschen via Cygwin wrote: > > On Dec 18 18:47, Martin Wege via Cygwin wrote: > > On Fri, Dec 1, 2023 at 10:52 AM Corinna Vinschen via Cygwin > > wrote: > > > > > > On Nov 30 04:55, Martin Wege via Cygwin wrote: > &

cygwin@cygwin.com

2023-12-21 Thread Martin Wege via Cygwin
fslinktypes') to the CYGWIN environment variable to define which types of links are supported: default 'all'. which is an shortcut for 'native,lnk,lnkexe'. So in case people do not want 'lnk' link support they just add CYGWIN+=' fslinktypes:native' to

Re: Cygwin tools to read/write NTFS alternate data streams?

2023-12-18 Thread Martin Wege via Cygwin
On Fri, Dec 1, 2023 at 10:52 AM Corinna Vinschen via Cygwin wrote: > > On Nov 30 04:55, Martin Wege via Cygwin wrote: > > Hello, > > > > Does Cygwin have tools (modified /usr/bin/dd ?) to read/write NTFS > > alternate data streams? > > No. As you know,

Re: Cygwin UNC path conversion functions?

2023-12-18 Thread Martin Wege via Cygwin
On Fri, Dec 1, 2023 at 10:15 AM Corinna Vinschen via Cygwin wrote: > > On Nov 30 04:44, Martin Wege via Cygwin wrote: > > Hello, > > > > does Cygwin have UNC path conversion functions, for example UNC path > > to DOS mount letter, UNC path to file URL? > > Ne

Cygwin mount limited to 64 mounts, even for UNC paths?

2023-11-29 Thread Martin Wege via Cygwin
Hello, Cygwin mount(1) is (per docs) limited to 64 mounts. Why was that limitation chosen, and does it apply even if I create bind mounts to UNC paths (not DOS letters)? DOS letters might be restricted by the ASCII A-Z, but UNC paths are unlimited. Thanks, Martin -- Problem reports

cmd.exe clone with UNC support?

2023-11-29 Thread Martin Wege via Cygwin
Hello, Is there a cmd.exe clone for Windows which supports UNC paths? Can that be shipped with Cygwin? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info

Cygwin tools to read/write NTFS alternate data streams?

2023-11-29 Thread Martin Wege via Cygwin
Hello, Does Cygwin have tools (modified /usr/bin/dd ?) to read/write NTFS alternate data streams? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info

"Lazy" bind mounts?

2023-11-29 Thread Martin Wege via Cygwin
uot; mount-on-demand? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Cygwin UNC path conversion functions?

2023-11-29 Thread Martin Wege via Cygwin
Hello, does Cygwin have UNC path conversion functions, for example UNC path to DOS mount letter, UNC path to file URL? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

Re: Cygwin tool to differ junctions from soft links?

2023-11-15 Thread Martin Wege via Cygwin
? On Wed, Nov 1, 2023 at 10:14 AM Martin Wege wrote: > > Good morning! > > Does Cygwin have a command line tool (Scriptable!) which can be used > to differ between soft links and Windows junctions? > > Thanks, > Martin -- Problem reports: https://cygw

Re: Please support download setup-x86_64.exe on IPv6-only network

2023-11-15 Thread Martin Wege via Cygwin
oad data on an IPv6 network? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: setup-x86_64.exe (bug ?): Cannot write to /usr/bin/cygwin1.dll - cyserver squatting it...

2023-11-15 Thread Martin Wege via Cygwin
lf an university degree to get it working, and that makes me unhappy because your work is GREAT > > You could have cygserver running from one Cygwin setup but installing to the > different one. And so on. Seriously, who has TWO Cygwin setups on one machine? Also, sc query can handle those cases too

Cygwin filesystem test suite?

2023-11-09 Thread Martin Wege via Cygwin
Hello, Does Cygwin 3.5 come with a Cygwin filesystem test suite, which uses Cygwin or the native Win32 api to check whether file access is working? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https

Re: SFU

2023-11-09 Thread Martin Wege via Cygwin
On Sun, Oct 22, 2023 at 3:20 PM Jonathan Chapman-Moore via Cygwin wrote: > > Hi, > > I was considering the people at Cygwin rebrand Cygwin to Services for UNIX. SFU might be a M$ trademark. But what about "Services for POSIX" - "SFP"? Thanks, Martin

Cygwin tool to differ junctions from soft links?

2023-11-01 Thread Martin Wege via Cygwin
Good morning! Does Cygwin have a command line tool (Scriptable!) which can be used to differ between soft links and Windows junctions? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com

Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...

2023-11-01 Thread Martin Wege via Cygwin
d /var/lib/dbus/machine-id > > /etc/postinstall/dbus.sh.done > > lrwxrwxrwx 1 26 May 14 2013 /etc/machine-id -> ../var/lib/dbus/machine-id* > > -rwxr-xr-x+ 1 33 May 14 2013 /var/lib/dbus/machine-id* > > -rw-r--r-- 1 54 Aug 9 2017 /etc/postinstall/dbus.sh.done >

Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...

2023-10-17 Thread Martin Wege via Cygwin
or dbus-uuidgen to correct this issue. Basically all KDE apps crash like that in Cygwin 3.5 > > Does not > dbus-uuidgen --ensure=/etc/machine-id > help? I tried the steps-to-reproduce, and I get the same problem. I tried to run kate with dbus-run-session kate, but while kate the run

Setuid exe (chmod u+s,g+s foo.exe) not working with Cygwin...

2023-09-24 Thread Martin Wege via Cygwin
Hello, I tried to setuid an executable, so that it runs as user "SYSTEM", but it does not work. I tried this as an user with administrator rights: chown SYSTEM:SYSTEM foo.exe chmod u+s,g+s foo.exe But running ./foo then just runs it as the current user. What am I doing wrong? Than

Cygwin, converting PSID to string?

2023-09-24 Thread Martin Wege via Cygwin
Hello, Does Cygwin have a function to convert a PSID (pointer to sid) to a human readable string? Is there a function to do the opposite, turn a string from the first function back into a SID type? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ

Re: Running bash script as SYSTEM from account with admin rights?

2023-09-22 Thread Martin Wege via Cygwin
On Fri, Sep 22, 2023 at 9:42 AM Christian Franke via Cygwin wrote: > > Martin Wege via Cygwin wrote: > > Hello, > > > > Does Cygwin have a tool to run a bash script as SYSTEM user if my > > account already have admin rights? > > No (AFAIK). > > I u

Shell API to get Windows SID from Cygwin name?

2023-09-21 Thread Martin Wege via Cygwin
Hello, Does Cygwin have a shell (e.g. bash) API to lookup the Windows SID for a given Cygwin user or group name? /usr/bin/getent usersid thisisausername does not work Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq

Re: std::runtime_error on std::locale("")

2023-09-21 Thread Martin Wege via Cygwin
locale::facet::_S_create_c_locale name not valid > > Aborted (core dumped) > > > > According to libstdc++ source, the internal function > locale::facet::_S_create_c_locale() calls some __newlocale() which > apparently does not arrive at newlocale() from cygwin1.dll. But > cygstdc++-6.dll imports newlocale() from cygwin1.dll. So this is a BUG? > > Only standard locale "C" and its alias "POSIX" work with C++ std::locale(). > > The cygwin1.dll function newlocale() works as expected - except that it > does not set errno if the locale name is invalid. What does bash -c 'locale -a' print on your system? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: Question on statically linking with cygwin

2023-09-21 Thread Martin Wege via Cygwin
> desireable to have the cygwin1.dll statically linked (for example > to avoid version clashes) instead. Is that technically possible? > If necessary I am ready to compile cygwin (at least the needed > files) on my own. Interesting. But how (from a developers perspective) do you link cygwi

Unmount USB stick from Cygwin shell?

2023-09-21 Thread Martin Wege via Cygwin
Hello, How can I unmount an USB stick from the bash shell? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

/usr/bin/dd *.iso to USB stick?

2023-09-21 Thread Martin Wege via Cygwin
Hello, How can I use /usr/bin/dd to copy a *.iso image (Debian netinstall boot image) to a USB stick as raw bytes? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

Running bash script as SYSTEM from account with admin rights?

2023-09-21 Thread Martin Wege via Cygwin
Hello, Does Cygwin have a tool to run a bash script as SYSTEM user if my account already have admin rights? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info

NFS mkfifo support in cygwin 3.5.0 Re: [ANNOUNCEMENT] cygwin 3.4.9-1

2023-09-07 Thread Martin Wege via Cygwin
ks We are testing 3.5.0-0.423.g7ced682549ae.x86_64 - which includes 622fb0776ea333dd708ff312f08ec98311138fbe - right now, feedback will come on Monday Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Martin Wege via Cygwin
On Thu, Aug 24, 2023 at 6:45 PM Martin Wege wrote: > > On Wed, Aug 23, 2023 at 1:06 AM Roland Mainz via Cygwin > wrote: > > > > On Tue, Aug 22, 2023 at 4:52 PM Lavrentiev, Anton (NIH/NLM/NCBI) [C] > > via Cygwin wrote: > > > > FIFOs which don't mak

Documenting Cygwin on NFS, no longer only exchange-medium! Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a direc

2023-08-26 Thread Martin Wege via Cygwin
e the Cygwin documentation then? We use NFS, both Windows builtin and CITI NFSv4.1, with Cygwin for years without major problems, so that comment about exchange-medium-only is clearly wrong! Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Martin Wege via Cygwin
ile or directory package: make done at Fri Aug 26 19:24:26 CEST 2023 in /cygdrive/z/arbeitdfn/windows_ksh/build_nfsv3/ksh-1.0.4/arch/cygwin.i386-64 If you need more examples just let me now, we have MUCH more of that... Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-24 Thread Martin Wege via Cygwin
his inode as FIFO. > 2. Check whether the filesystem for the fifos path is NFS > (cgywin.dll's |fs.fs_is_nfs()|), and then just refuse |mkfifo()| with > |ENOSYS| (not implemented) > > Better algorithm for [1] might be to check whether the inode is a > symlink, and then do a |fs.fs_is_nfs()| on the symlinks |pathname|, > assuming this is more performant. We would like to see option 1 implemented, maybe as an option in the CYGWIN environment variable (CYGWIN=nfs_emulate_dev_special_files_as_symlink ?) Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-24 Thread Martin Wege via Cygwin
ust code using mkfifo, and scripts using /usr/bin/mkfifo, should work on NFS. On UNIX&Linux this works. Have a look at https://cygwin.com/pipermail/cygwin/2023-August/254266.html, sounds like there is a feasible way to implement this. Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: Cygwin pathconf() query filesystem kernel data? Re: How does Cygwin detect MSFT NFSv3 file system? Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-24 Thread Martin Wege via Cygwin
On Tue, Aug 22, 2023 at 12:07 AM Brian Inglis wrote: > > On 2023-08-21 06:03, Martin Wege via Cygwin wrote: > > On Sat, Aug 19, 2023 at 7:50 PM Brian Inglis wrote: > >> > >> On 2023-08-18 07:09, Martin Wege via Cygwin wrote: > >>> On Fri, Aug 18, 20

Re: Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-24 Thread Martin Wege via Cygwin
On Sat, Aug 19, 2023 at 10:15 AM ASSI via Cygwin wrote: > > Martin Wege via Cygwin writes: > > How can I find out whether the current Cygwin terminal has > > Administrator rights? I want to safeguard our admin scripts with a > > simple test and bail out with an error if s

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-21 Thread Martin Wege via Cygwin
On Fri, Aug 18, 2023 at 10:34 AM Corinna Vinschen wrote: > > On Aug 18 06:02, Martin Wege via Cygwin wrote: > > On Mon, Aug 7, 2023 at 4:42 PM Martin Wege wrote: > > > > > > Hello, > > > > > > We get a weird mkfifo failure in Cygwin on NTFS: > &

Re: Cygwin pathconf() query filesystem kernel data? Re: How does Cygwin detect MSFT NFSv3 file system? Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-21 Thread Martin Wege via Cygwin
On Sat, Aug 19, 2023 at 7:50 PM Brian Inglis wrote: > > On 2023-08-18 07:09, Martin Wege via Cygwin wrote: > > On Fri, Aug 18, 2023 at 10:44 AM Corinna Vinschen via Cygwin > > wrote: > >> > >> On Aug 17 20:49, Martin Wege via Cygwin wrote: > >>> O

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-18 Thread Martin Wege via Cygwin
On Fri, Aug 18, 2023 at 10:34 AM Corinna Vinschen wrote: > > On Aug 18 06:02, Martin Wege via Cygwin wrote: > > On Mon, Aug 7, 2023 at 4:42 PM Martin Wege wrote: > > > > > > Hello, > > > > > > We get a weird mkfifo failure in Cygwin on NTFS: > &

ReFS support in Cygwin?

2023-08-18 Thread Martin Wege via Cygwin
Hello, is ReFS supported in Cygwin? If so, what does Cygwin /bin/mount print - "ntfs" or "refs"? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubsc

Cygwin pathconf() query filesystem kernel data? Re: How does Cygwin detect MSFT NFSv3 file system? Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-18 Thread Martin Wege via Cygwin
On Fri, Aug 18, 2023 at 10:44 AM Corinna Vinschen via Cygwin wrote: > > On Aug 17 20:49, Martin Wege via Cygwin wrote: > > On Mon, Aug 14, 2023 at 10:56 PM Corinna Vinschen via Cygwin > > wrote: > > > and the result is the same. Note that Cygwin supports MSFT NFSv3

Re: Cygwin console: Different default background color when terminal runs as Admin?

2023-08-18 Thread Martin Wege via Cygwin
On Fri, Aug 18, 2023 at 7:27 AM Jonathon Merz via Cygwin wrote: > > On Thu, Aug 17, 2023 at 7:13 PM Martin Wege via Cygwin > wrote: > > > Just an idea: Could the default background color of the Cygwin console > > be changed from black to grey (or RED) if the terminal h

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-17 Thread Martin Wege via Cygwin
On Mon, Aug 7, 2023 at 4:42 PM Martin Wege wrote: > > Hello, > > We get a weird mkfifo failure in Cygwin on NTFS: > > /usr/bin/mkfifo -m 600 x.fifo > mkfifo: cannot set permissions of 'x.fifo': Not a directory > > Is there a known workaround? So far named fifo

Cygwin console: Different default background color when terminal runs as Admin?

2023-08-17 Thread Martin Wege via Cygwin
Hello, Just an idea: Could the default background color of the Cygwin console be changed from black to grey (or RED) if the terminal has been started with Administrator rights? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq

Test for Windows Administrator permissions from Cygwin terminal|script?

2023-08-17 Thread Martin Wege via Cygwin
Hello, How can I find out whether the current Cygwin terminal has Administrator rights? I want to safeguard our admin scripts with a simple test and bail out with an error if someone wants to do admin stuff (say: regtool) without admin privileges. Thanks, Martin -- Problem reports: https

How does Cygwin detect MSFT NFSv3 file system? Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-17 Thread Martin Wege via Cygwin
lement the pathconf() api? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-14 Thread Martin Wege via Cygwin
mainznonebinary,posix=0,user 0 0 > > > $ mount -a > > $ > /home/rmainz/tmp/winnfstest/hummingbirdnfstest1/try10_rde_new_rds/Dependencies/win/qt/qt_5_15_2/Tools/mingw810_64/bin/c++ > /home/rmainz/tmp/winnfstest/hummingbirdnfstest1/try10_rde_new_rds/RDE-Development/bu

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-14 Thread Martin Wege via Cygwin
On Mon, Aug 14, 2023 at 9:35 AM Brian Inglis wrote: > > On 2023-08-13 11:40, Martin Wege via Cygwin wrote: > > On Sun, Aug 13, 2023 at 12:53 AM Roland Mainz via Cygwin wrote: > >> On Mon, Aug 7, 2023 at 7:38 AM KAVALAGIOS Panagiotis (EEAS) via Cygwin > >> wrote: &g

Re: Cygwin breaks net use Z: /delete in scripts?

2023-08-13 Thread Martin Wege via Cygwin
On Sun, Aug 13, 2023 at 7:13 PM Martin Wege wrote: > > On Sun, Aug 13, 2023 at 12:43 AM Roland Mainz via Cygwin > wrote: > > > > On Fri, Aug 11, 2023 at 10:55 AM Corinna Vinschen via Cygwin > > wrote: > > [snip] > > > On Aug 11 10:25, Martin Wege wrote

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-13 Thread Martin Wege via Cygwin
or bash), but not the login configs > (e.g. /etc/profile + ~/.profile). > > So the simple fix was just to type: > C:\Program Files\Cygwin\bin\bash.exe --login > > or > > C:\Program Files\Cygwin\bin\ksh93.exe --login > > > > Bye, > Roland > > P.S.:

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-10 Thread Martin Wege via Cygwin
On Wed, Aug 9, 2023 at 11:56 AM Corinna Vinschen wrote: > > On Aug 9 11:12, Martin Wege via Cygwin wrote: > > On Wed, Aug 9, 2023 at 10:01 AM Corinna Vinschen > > wrote: > > > > > > On Aug 8 21:38, Martin Wege via Cygwin wrote: > > > >

Re: Compile win64 filesys kernel module only with Cygwin tools?

2023-08-10 Thread Martin Wege via Cygwin
GW64 > (wether stand-alone, or the MSYS(2) hosted one, or the one hosted in > Cygwin) might be able to do it. I'd be very interested in this idea to (build *.sys kernel module with minGW64). Has anyone ever tried to do that? Just from Googling PDB (Windows Debug File Format) files will

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-09 Thread Martin Wege via Cygwin
On Wed, Aug 9, 2023 at 10:01 AM Corinna Vinschen wrote: > > On Aug 8 21:38, Martin Wege via Cygwin wrote: > > On Tue, Aug 8, 2023 at 10:20 AM Corinna Vinschen > > wrote: > > > > > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > > > >

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-08 Thread Martin Wege via Cygwin
On Tue, Aug 8, 2023 at 10:20 AM Corinna Vinschen wrote: > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > > On Mon, Aug 7, 2023 at 9:14 PM Corinna Vinschen > > wrote: > > > > > > On Aug 7 12:26, Brian Inglis via Cygwin wrote: > > > > O

Re: Find free drive letter in Cygwin?

2023-08-07 Thread Martin Wege via Cygwin
On Mon, Aug 7, 2023 at 8:43 PM Brian Inglis wrote: > > On 2023-08-07 10:52, Martin Wege via Cygwin wrote: > > What is the official cygwin way to find a free drive letter, which can > > be used in a script to mount a drive? > > Just use the Windows UNC network path directl

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-07 Thread Martin Wege via Cygwin
On Mon, Aug 7, 2023 at 9:14 PM Corinna Vinschen wrote: > > On Aug 7 12:26, Brian Inglis via Cygwin wrote: > > On 2023-08-07 08:42, Martin Wege via Cygwin wrote: > > > We get a weird mkfifo failure in Cygwin on NTFS: > > > > > > /usr/bin/mkfifo -m 600 x.fi

Find free drive letter in Cygwin?

2023-08-07 Thread Martin Wege via Cygwin
Hello, What is the official cygwin way to find a free drive letter, which can be used in a script to mount a drive? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-07 Thread Martin Wege via Cygwin
Hello, We get a weird mkfifo failure in Cygwin on NTFS: /usr/bin/mkfifo -m 600 x.fifo mkfifo: cannot set permissions of 'x.fifo': Not a directory Is there a known workaround? So far named fifos cannot be created somehow. Thanks, Martin -- Problem reports: https://

Re: ms-nfs41 mount: Where does Unix_User+0 and Unix_Group+0 come from?

2023-08-03 Thread Martin Wege via Cygwin
On Fri, Aug 4, 2023 at 1:07 AM Martin Wege wrote: > > On Thu, Aug 3, 2023 at 8:46 PM Martin Wege wrote: > > > > Hello, > > > > We are working to deploy the ms-nfs41-nfs-filesystem on our Windows > > machines, and encounter some issues with Cygwin (latest stabl

Re: ms-nfs41 mount: Where does Unix_User+0 and Unix_Group+0 come from?

2023-08-03 Thread Martin Wege via Cygwin
On Thu, Aug 3, 2023 at 8:46 PM Martin Wege wrote: > > Hello, > > We are working to deploy the ms-nfs41-nfs-filesystem on our Windows > machines, and encounter some issues with Cygwin (latest stable). > > For example, if we go to the ms-nfs41-nfs-filesystem (not the NFS &g

ms-nfs41 mount: Where does Unix_User+0 and Unix_Group+0 come from?

2023-08-03 Thread Martin Wege via Cygwin
: ms-nfs41-client-x64/ms-nfs41-client-x64/nfs_mount.exe -p -o sec=sys X 'lordbatman.bias.dfn.de:/export/home/mlw' Expectation: Cygwin ls -l should list file user/group as mlw/mlw Actual results: Cygwin ls -l lists file user/group as Unix_User+0/Unix_Group+0 How do we fix this? Thanks,

Python: enable loadable SQLite extension support

2022-10-28 Thread Martin Carpenter
'CONFIG_ARGS')[0].split(' '))) ["'--enable-shared'", "'--enable-ipv6'", "'--enable-loadable-sqlite- extensions'"] Equivalent issue from NixOS for reference: https://github.com/NixOS/nixpkgs/issues/66526 Thanks, Martin. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Several Python 3.9 packages have a wrong version number of 0.0.0

2022-05-19 Thread Laurent Martin
Hello, I'm using Python 3.9 from Cygwin. Some packages have a package version of 0.0.0 instead of their actual version which makes pip unhappy: $ pip list | grep 0.0.0 importlib-metadata0.0.0 iniconfig 0.0.0 zipp 0.0.0 $ pip check sph

Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1

2022-05-15 Thread Martin Ortuno
nts to /usr/bin/python3.9 /usr/bin/python3.9 - priority 39 Current `best' version is /usr/bin/python3.9. Thanks, Martin El dom., 15 de mayo de 2022 7:59 p. m., Ken Brown escribió: > On 5/15/2022 6:03 PM, Martin Ortuno wrote: > > $ ls -glo /usr/bin/python > > > > lrwx

Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1

2022-05-15 Thread Martin Ortuno
nts to /usr/bin/python3.9 /usr/bin/python3.9 - priority 39 Current `best' version is /usr/bin/python3.9. Martin El dom., 15 de mayo de 2022 3:44 p. m., Brian Inglis < brian.ing...@systematicsw.ab.ca> escribió: > On 2022-05-15 11:10, Martin Ortuno wrote: > > Here the in

Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1

2022-05-15 Thread Martin Ortuno
version is /usr/bin/python3.9. $ cygcheck -c scons Cygwin Package Information Package VersionStatus scons4.3.0-1OK $ head -n1 /usr/bin/scons #!/usr/bin/python3.9.exe Thank you for your support... Martin El vie., 13 de mayo de 2022 5:47 p. m

Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1

2022-05-13 Thread Martin Ortuno
I am prompting which scons: Output: /bin/scons/ Thanks, Martin El vie., 13 de mayo de 2022 5:12 p. m., William Deegan escribió: > vi `which scons` > and see which python it's trying to use. > (from within your cygwin shell) > > Very surprised you get no output. > > On

Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1

2022-05-13 Thread Martin Ortuno
Actually i tried to open python3.9 from windows directly and then the application crashes saying: "The procedure entry point __locale_ctype_ptr could not be located in the dynamic link library C:\Path\toCygwin\bin\libpython3.9.dll" Thanks again... Martin El vie., 13 de mayo de 2022

Re: scons v4.3.0-1 outputs nothing on cygwin v2. 3.1

2022-05-13 Thread Martin Ortuno
p-x86, just updating python3... However after that python3 stops working... I'd appreciate any advice or support... Thanks, Martin El vie., 13 de mayo de 2022 11:51 a. m., William Deegan escribió: > Are you sure you're running scons from cygwin? > Which version of python do you have

scons v4.3.0-1 outputs nothing on cygwin v2. 3.1

2022-05-13 Thread Martin Ortuno
... Thank you, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Updating python38-pytest installs python39

2021-12-14 Thread Laurent Martin
Hello, Updating python38-pytest from 6.2.1-1 to 6.2.5-1 leads to the installation of several python39 packages. Reading the "setup" file (found on this mirror site: https://ftp.lip6.fr/pub/cygwin/x86_64/setup.xz), I noticed that the package python38-pytest depends on python39-pytest. So up

  1   2   3   4   5   >