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

2025-03-24 Thread Martin Wege via Cygwin
Hello, another wishlist entry (old one): read/write NTFS alternate data streams via openat(O_XATTR) Opening individual streams might be easy, as Corinna pointed out that cygwin_attach_handle_to_fd() can be used for that (i.e. open stream, and attach handle to fd via cygwin_attach_handle_to_fd()),

Re: Cygwin 3.6 on Windows 8?

2025-03-10 Thread Martin Wege via Cygwin
On Fri, Mar 7, 2025 at 3:42 PM Dan Shelton via Cygwin wrote: > > Hello! > > Did anyone test whether Cygwin 3.6 will still work on Windows 8? I > know, Win8 is unsupported, but apparently it is still needed https://cygwin.com/ front page says "The Cygwin DLL currently works with all recent, commer

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 Unsu

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 Un

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
On Thu, Feb 20, 2025 at 9:37 PM Corinna Vinschen via Cygwin wrote: > > On Feb 20 19:24, Lionel Cons via Cygwin wrote: > > On Thu, 20 Feb 2025 at 18:09, Corinna Vinschen via Cygwin > > wrote: > > > > > > On Feb 20 17:37, Lionel Cons via Cygwin wrote: > > > > On Thu, 20 Feb 2025 at 14:56, Cedric Bl

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/problems.html FAQ:

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

2024-12-20 Thread Martin Wege via Cygwin
On Fri, Dec 20, 2024 at 3:22 PM Oskar Skog via Cygwin wrote: > > On 2024-12-20 14:01, Cedric Blancher via Cygwin wrote: > > Good morning! > > > > Is it possible to modify Cygwin sshd to support logins into user SYSTEM? > > > > Ced > > No modifications needed. > > Run ssh-host-config and answer "no

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

2024-11-21 Thread Martin Wege via Cygwin
On Wed, Nov 20, 2024 at 11:38 PM Dan Shelton via Cygwin wrote: > > On Wed, 24 Jul 2024 at 03:10, Brian Inglis via Cygwin > wrote: > > > > On 2024-07-23 18:07, Dan Shelton via Cygwin wrote: > > > Does Cygwin have a script API to read the Windows event log, maybe via > > > /proc > > > or /dev? >

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. > > So you need to do a manual mount inside WS

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 work: > > > > cd /cygdrive/n/nfsshare1 > > t

Windows Server NFS, getfact not working on NFS

2024-10-05 Thread Martin Wege via Cygwin
Greetings! If I mount a NFS filesystem from a Windows NFS4.1 server (Windows Server 2022) on Windows 10, then getfacl does not work: cd /cygdrive/n/nfsshare1 touch testfile getfacl testfile getfact: testfile: Not supported NFS server is running Windows Server 2022 NFS client is Windows 10 Profes

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\...)? > >> > > >> > Also, can this be done for more than one Cygwin version

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\...)? > > > > Also, can this be done for mo

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/ Docum

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 reports:

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. Which value > must the CreationTime membe

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
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. Which value must the CreationTime member of FILE_BASIC_INFORMATION have to cause /usr/bin/stat ti return

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

2024-04-02 Thread Martin Wege via Cygwin
Hello, could Cygwin implement support for /usr/bin/ionice and ioprio_set() via FILE_IO_PRIORITY_HINT_INFO? So basically implement ioprio_set() to store the value per process, and for each file open() call this: FILE_IO_PRIORITY_HINT_INFO priorityHint={0}; priorityHint.PriorityHint = ioniceprio2W

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
Hello, Is there any document which describes how Cygwin and Win32 file prefetch and readahead work, and which sizes are used (e.g. always read one full page even if only 16 bytes are requested?)? Quick /usr/bin/stat /etc/profile returns "IO Block: 65536". Does that mean the file's block size is r

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

2024-03-03 Thread Martin Wege via Cygwin
Hello, How can we map UNIX "nobody"/"nogroup" to Win32 SIDs/accounts? Cygwin has entries for "nobody" in /etc/passwd and "nogroup" in /etc/group, but these accounts have SIDs returned by /usr/bin/getent passwd and /usr/bin/getent group which LookupAccountSidA() does not recognise. So what is the

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/docs.

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 locking errors, and like to in

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 rep

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
On Wed, Dec 20, 2023 at 6:21 PM Kaz Kylheku via Cygwin wrote: > > On 2023-12-17 22:22, Dan Shelton via Cygwin wrote: > > It would be nice if someone from the Cygwin authors could assist me in > > figuring out why this happens. > > Cygwin is famously slow; this is nothing new. We are grateful > for

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: https

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: https

"Lazy" bind mounts?

2023-11-29 Thread Martin Wege via Cygwin
Hello, if I do a mount -o bind //foo/bar/baz /mnt the UNC path //foo/bar/baz is evaluated immediately, i.e. the network share //foo/bar/baz is "mounted" immediately. Is it possible to mount //foo/bar/baz only the first time someone does a cd /mnt, sort of automounter-style "lazy" mount-on-demand?

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 Unsubs

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://cygwin.com/problems.html FAQ:

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

2023-11-15 Thread Martin Wege via Cygwin
On Thu, Nov 16, 2023 at 2:40 AM Bin W via Cygwin wrote: > > https://www.cygwin.com/setup-x86_64.exe > IPv6-only network can't download the installer. Details please. Does https://www.cygwin.com/setup-x86_64.exe not work on an IPv6-only network? Or can setup-x86_64.exe not download data on an IPv

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

2023-11-15 Thread Martin Wege via Cygwin
On Wed, Nov 15, 2023 at 6:05 PM Andrey Repin via Cygwin wrote: > > Greetings, Mainz, Roland! > > > > Hi! > > > > > > The Cygwin installer "setup-x86_64.exe" has problems updating cygwin1.dll > > when cygserver is running: > > You should stop ALL Cygwin processes before starting setup.exe. >

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 -- Problem reports: https://cygwin.com

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
On Tue, Oct 17, 2023 at 5:30 AM Takashi Yano via Cygwin wrote: > > On Mon, 16 Oct 2023 20:27:09 -0600 > Brian Inglis wrote: > > On 2023-10-16 15:31, Roland Mainz via Cygwin wrote: > > > Steps to reproduce: > > > 1. Boot Windows 10 > > > 2. Log in > > > 3. Open Cygwin terminal > > > 4. Run "kate" >

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
On Tue, Oct 17, 2023 at 2:29 AM Takashi Yano via Cygwin wrote: > > On Mon, 16 Oct 2023 23:31:40 +0200 > Roland Mainz wrote: > > Steps to reproduce: > > 1. Boot Windows 10 > > 2. Log in > > 3. Open Cygwin terminal > > 4. Run "kate" > > > > Result: > > kate crashes > > > > Expected result: > > kate

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? Thanks, Martin -

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: ht

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/ Documen

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

2023-09-21 Thread Martin Wege via Cygwin
On Thu, Sep 21, 2023 at 9:07 PM Christian Franke via Cygwin wrote: > > Brian Inglis via Cygwin wrote: > > On 2023-09-21 10:28, Takashi Yano via Cygwin wrote: > >> On Fri, 22 Sep 2023 01:12:04 +0900 > >> Takashi Yano wrote: > >>> I wonder why the following code throws std::runtime_error > >>> even

Re: Question on statically linking with cygwin

2023-09-21 Thread Martin Wege via Cygwin
On Tue, Sep 19, 2023 at 5:24 PM Johannes Thoma via Cygwin wrote: > > Hi, > > As I understood the reason for not being able to statically link > the cygwin1.dll in to a binary and distribute that is because of > licensing issues. Do you have any references for that? > Are there any technical issu

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 Unsubscrib

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
On Wed, Sep 6, 2023 at 5:27 PM Corinna Vinschen via Cygwin-announce via Cygwin wrote: > > The following packages have been uploaded to the Cygwin distribution: > > * cygwin-3.4.9-1 > * cygwin-devel-3.4.9-1 > * cygwin-doc-3.4.9-1 > > Bug Fixes > - > > - Fix a bug introduced in cygwin 3.4.0

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 make *any* sense > > > > ... FWIW, a remote NFS fil

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
On Fri, Aug 25, 2023 at 2:19 PM Corinna Vinschen via Cygwin wrote: > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > Note that Cygwin does not interpret the file |myfifo.fifo| as FIFO, > > instead it comes back as a symlink "myfifo.fifo -> ':\0:c4:1000'". > > > > AFAIK there are (at least) t

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 Sat, Aug 26, 2023 at 4:16 PM Corinna Vinschen via Cygwin wrote: > > On Aug 26 13:26, Cedric Blancher via Cygwin wrote: > > On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin > > wrote: > > > > > > On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: > > > > On Aug 23 01:05, Roland Mainz

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
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 make *any* sense > > > ... FWIW, a remote NFS fileystem. > > > > I got an impression that the OP is trying to deploy

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

2023-08-24 Thread Martin Wege via Cygwin
On Wed, Aug 23, 2023 at 5:44 PM Jeffrey Altman via Cygwin wrote: > > On 8/22/2023 10:52 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin > wrote: > >> FIFOs which don't make *any* sense > >> ... FWIW, a remote NFS fileystem. > > I got an impression that the OP is trying to deploy something (may

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 Unsubscribe info: https:

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 fifos cannot be created somehow. This is

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
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 but > not CITI NFSv4.1 internally. No gurantee that Cygwin always does what > is necessary for that other NFS. 1. How does Cygwin detect whether something is a

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

2023-08-14 Thread Martin Wege via Cygwin
On Mon, Aug 14, 2023 at 7:30 PM Roland Mainz via Cygwin wrote: > > On Mon, Aug 14, 2023 at 6:25 PM Roland Mainz wrote: > > On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin > > wrote: > > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > [snip] > > > > In our case we have a project

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: > > > > Cygwin somehow breaks unmounting o

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

2023-08-13 Thread Martin Wege via Cygwin
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: > > > > > On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz > > > wrote: > > > > Is there an official way to enter the Cygwin command line (e.g. bash > >

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
On Wed, Aug 9, 2023 at 10:04 PM Hans-Bernhard Bröker via Cygwin wrote: > > Am 09.08.2023 um 21:17 schrieb Wendy Lin via Cygwin: > > How can I compile > > https://github.com/microsoft/Windows-driver-samples/tree/main/filesys/cdfs > > with Cygwin gcc? > > You should not be trying to do that. > > Tha

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 Unsubscri

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://cygwin.com/problems.html

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 stable). > > > > For example, if we go to

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 > version 3 client from Wind

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

2023-08-03 Thread Martin Wege via Cygwin
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 version 3 client from Windows!!!) with cd X: ; cd tmp/data9/, and do a ls -l we get 'Unix_U