Re: cygutils 1.4.17-2: lssparse -H does not print hole at offset 0 if more data exists

2025-04-25 Thread Roland Mainz via Cygwin
On Sun, Apr 6, 2025 at 9:53 AM Mark Geisert via Cygwin wrote: > > Hi Roland, > > On 4/5/2025 7:56 AM, Roland Mainz via Cygwin wrote: > > On Wed, Apr 2, 2025 at 4:01 PM Christian Franke via Cygwin > > wrote: > >> > >> Testcase for a minor issue: >

git testsuite "t1004-read-tree-m-u-wf.sh" test hang with Cygwin 3.7.0 ...

2025-04-21 Thread Roland Mainz via Cygwin
it.c:469 #15 handle_builtin (argc=5, argv=argv@entry=0xa06c8) at git.c:724 #16 0x00010040261c in run_argv (argcp=0x7cbe0, argv=0x7cbe8) at git.c:788 #17 cmd_main (argc=, argc@entry=6, argv=, argv@entry=0xa06c0) at git.c:923 #18 0x0001006b2ffc in main (argc=6, argv=0xa

Re: cygutils 1.4.17-2: lssparse -H does not print hole at offset 0 if more data exists

2025-04-05 Thread Roland Mainz via Cygwin
ith other corner cases. 1. *Thanks* ... :-) 2. New version is available from http://svn.nrubsig.org/svn/people/gisburn/code/sparsefiles/lssparse.c 3. I did these two changes (GoogleMail might ruin the whitespaces, please use http://svn.nrubsig.org/svn/people/gisburn/code/sparsefiles/lssparse.c for the

Testing with UNC paths && GNU mkinstalldirs not working with (Cygwin) UNC dirs ...

2025-03-08 Thread Roland Mainz via Cygwin
am for GNU mkinstalldirs, or do the various GNU projects just copy the script around ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- Proble

Re: lost signal (was: cygwin 3.6.0: Signals may fail permanently if received after SIGSTOP)

2025-03-07 Thread Roland Mainz via Cygwin
e with 'taskset 0x1 ...', it > > > apparently always hangs. > > > > Thanks for the report and the testcase. > > The current implementation of the signal queue has the following problems: > > 1) Signals in the queue are processed in a disordered manner. > &

Re: lost signal (was: cygwin 3.6.0: Signals may fail permanently if received after SIGSTOP)

2025-03-07 Thread Roland Mainz via Cygwin
rage for realtime signals and their payload (see |sigval| argument in https://pubs.opengroup.org/onlinepubs/9799919799/functions/sigqueue.html) is full. Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix pr

Cygwin 3.6: clang cannot use /usr/include/unistd.h, issue with |setproctitle_init()| ...

2025-03-05 Thread Roland Mainz via Cygwin
*[]) {} ^ 3 errors generated. make: *** [Makefile:10: foo.i686.exe] Error 1 snip Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programm

Re: rm -Rfv on UNC path horribly slow in Cygwin 3.6.0-0.404.g323729f654ae.x86_64 ...

2025-02-26 Thread Roland Mainz via Cygwin
On Wed, Feb 26, 2025 at 9:26 PM Corinna Vinschen via Cygwin wrote: > On Feb 26 20:16, Roland Mainz via Cygwin wrote: > > Something is wrong with UNC paths in Cygwin 3.6 build > > 3.6.0-0.404.g323729f654ae.x86_64 and ms-nfs41-client 2025-02-21: > > > > Example:

rm -Rfv on UNC path horribly slow in Cygwin 3.6.0-0.404.g323729f654ae.x86_64 ...

2025-02-26 Thread Roland Mainz via Cygwin
FQDN for share host) does not fix the problem. Going to /cygdrive/l/builds/bash_build1 and the rm -Rfv deletes around 70-90 files per second. Last tested version was Cygwin commit #4bcc6adec765ee8354bfc9e6c060c9d1c0c7bf46 (and same ms-nfs41-client 2025-02-21 release), rm -Rfv performance t

Re: Registering new |WNNC_NET_*| keys ? / Re: Document support for @ character in UNC paths

2025-02-26 Thread Roland Mainz via Cygwin
On Wed, Feb 26, 2025 at 2:36 PM Corinna Vinschen via Cygwin wrote: > > On Feb 26 11:15, Roland Mainz via Cygwin wrote: > > On Wed, Feb 26, 2025 at 2:22 AM Jeremy Drake via Cygwin > > wrote: > > > On Tue, 25 Feb 2025, Takeshi Nishimura via Cygwin wrote: > > &g

Registering new |WNNC_NET_*| keys ? / Re: Document support for @ character in UNC paths

2025-02-26 Thread Roland Mainz via Cygwin
. Also... there is the problem that many OpenSource projects do not have funding/money, and if the registration costs money, then no one can do that. For ms-nfs41-client there is another "solution", the driver only uses /nfs4/ subdir, so UNC paths usually look like //derfwnb4966_ipv6lin

Pipes/fifos/sockets&&|mmap()|'ed output files in POSIX shell x=$(cmd) and x=${ cmd ; } statements... / was: Re: [regression-3.6] Pipe between Cygwin and non Cygwin (CRT/URT) randomly loses characters

2025-02-19 Thread Roland Mainz via Cygwin
ot; like that in the OpenSolaris ksh93-integration project long ago, and found LOTS of bugs in the Solaris kernel&&libc. > > Same happens with dash and ksh93. And THAT statement is BAD, because it means basic shell functionality is broken, affecting dash/bash/ksh93 - reading th

What symlink value should |MRxCreate()| return on |STATUS_REPARSE| to redirect to another DOS drive or UNC path ?

2025-02-07 Thread Roland Mainz via Cygwin
hat to the base of the filesystem mount point, resulting in a totally wrong path... ----- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- Proble

|IO_REPARSE_TAG_MOUNTPOINT| (Junctions) not working for remote filesystems in Cygwin ?

2025-02-04 Thread Roland Mainz via Cygwin
context am I missing ? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- Problem reports: https://cygwin.com/problems.html FA

Re: [Ms-nfs41-client-devel] Fwd: Implementing mkfifo, mknod support with NFS_SPECFILE_FIFO and NFS_SPECFILE_SOCK?

2025-01-31 Thread Roland Mainz via Cygwin
ff4df658-7f27-476a-8025-4074c0121eec ? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- Problem reports: https://cygwin.com/problems.html

Handing filesystems which do not support some timestamp fields in |FILE_BASIC_INFO| and Microsoft NFSv3 driver "NfsV3Attributes" EA ...

2025-01-21 Thread Roland Mainz via Cygwin
lib/blob/master/lib/stat-time.h#L173 - and this value is then propagated via NFS), but I can't find a place in Cygwin where this is explicitly handled - is this missing, or is this code handling this somehow implicitly ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nru

Re: Cygwin 3.6 /usr/bin/cp from "coreutils" version 9.5-1 stuck in an endless loop...

2025-01-14 Thread Roland Mainz via Cygwin
On Tue, Jan 14, 2025 at 7:19 AM Brian Inglis via Cygwin wrote: > On 2025-01-13 13:10, Roland Mainz via Cygwin wrote: > > I just hit an endless loop with /usr/bin/cp from "coreutils" version > > 9.5-1 copying a larger *.pdb file (it seems that only this specific >

Cygwin 3.6 /usr/bin/cp from "coreutils" version 9.5-1 stuck in an endless loop...

2025-01-13 Thread Roland Mainz via Cygwin
6_64 2025-01-13 10:15 UTC x86_64 Cygwin" Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- Problem reports: https://cygwin.com/prob

Re: Using forwarded filesystems with Windows Remote Client (e.g. accessing //TSCLIENT/L via mstsc.exe) ?

2025-01-09 Thread Roland Mainz via Cygwin
On Wed, Jan 8, 2025 at 5:33 PM Roland Mainz wrote: > > Hi! > > > > Does Cygwin 3.6 support filesystems which have been forwarded by the > Windows Remote Client (mstsc.exe) ? > > I tried to access such a forwarded dir, but $ ls -l # returned this: > snip ---

Using forwarded filesystems with Windows Remote Client (e.g. accessing //TSCLIENT/L via mstsc.exe) ?

2025-01-08 Thread Roland Mainz via Cygwin
Unix_Group+6539296 4294967296000 Mar 17 1970 te_install l-x-wx11 Unix_User+6539088 Unix_Group+6539672 4294967295 Jan 1 1970 winserver2019_admindir2 snip Any idea what is going wrong in this case ? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsi

Re: Problem with '€' (EURO) symbol in (U)CRT |printf("%S", ...);| ...

2024-12-02 Thread Roland Mainz via Cygwin
On Wed, Nov 27, 2024 at 1:49 AM Brian Inglis via Cygwin wrote: > > On 2024-11-26 17:08, Roland Mainz via Cygwin wrote: > > Cygwin 3.5.4/Win10/64bit, the following program prints a '?' where I > > would expect a '€' (EURO) symbol: > > snip ---

Problem with '€' (EURO) symbol in (U)CRT |printf("%S", ...);| ...

2024-11-26 Thread Roland Mainz via Cygwin
code page which supports the EURO symbol, but somehow I always get a '?'. Does anyone know what I am doing wrong ? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programme

Re: [Ms-nfs41-client-devel] Corrupted file name in Cygwin - does Cygwin do a silly rename if a file is open?

2024-11-25 Thread Roland Mainz via Cygwin
".\\xdc63\\xdc79\\xdc67\" " +"detected, squishing prefix to \".cyg\"\n", +args->path)); +(void)memcpy(rename->FileName, L".cyg", 4*sizeof(wchar_t)); +} +#endif /* CYGWIN_STOMP_SILLY_RENAME_INVALID_UTF16_SEQUENCE */ + ds

Re: [Ms-nfs41-client-devel] Corrupted file name in Cygwin - does Cygwin do a silly rename if a file is open?

2024-11-23 Thread Roland Mainz via Cygwin
uot;2ed7d65d99d134e78782c183aa39c270f7e7f07e" enforces that it only uses valid UTF-8 OR returns an error. If there is any Windows application generating invalid Win32 |wchar_t|-strings, then this should catch it and complain about it in the client log and return an |ERROR_INVALID_PARAMETER| to the c

Re: Stable SIDs for "None"+'"Administrator" ?

2024-11-09 Thread Roland Mainz via Cygwin
On Sat, Nov 9, 2024 at 6:00 PM Corinna Vinschen via Cygwin wrote: > On Nov 9 17:31, Roland Mainz via Cygwin wrote: > > Does anyone know a list of SIDs which can be used to get the > > user+group accounts for passwd entry "Adminstrator" and group entry > > "Non

Stable SIDs for "None"+'"Administrator" ?

2024-11-09 Thread Roland Mainz via Cygwin
None None:S-1-5-21-168624908-967194555-3343779530-513:197121: # Windows Server 2019 $ getent group None None:S-1-5-21-3286904461-66123-4220857270-513:197121 snip And if there is no such list, would $ mkgroup | egrep ':S-1-5-21-.+-513:' # be a suitable workaround ? ---

FIFO with group-only permissions fails with "Permission denied" ...

2024-09-09 Thread Roland Mainz via Cygwin
Hi! I'm trying to create a Cygwin FIFO which can only be read and written by admins: snip # as admin mkfifo system_cmd_fifo chgrp 544 system_cmd_fifo chmod a-rwx,g+rw system_cmd_fifo cat https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: BUG: /usr/bin/uptime always reports 0/0/0 average

2024-08-27 Thread Roland Mainz via Cygwin
com/pipermail/cygwin-developers/2022-May/012569.html > > [2] https://cygwin.com/cgit/newlib-cygwin/tree/winsup/cygwin/loadavg.cc > > Thank you for the explanation, Mark! > > I see that /proc/loadavg appears to get updated. If one wants the > information, > is that a

mount nfsdir ; cd /cygdrive/y ; ls -l ; cd / ; umount nfsdir # causes kernel VNetRoot to be stuck...

2024-07-04 Thread Roland Mainz via Cygwin
10.0-19045 DERFWNB8353 3.5.3-1.x86_64 2024-04-03 17:25 UTC x86_64 Cygwin Does anyone have a good idea how to debug this ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O

Missing "w" flag in Cygwin getfacl, while icacls shows "WD" (write data) permission ?

2024-06-24 Thread Roland Mainz via Cygwin
erarbeitungsfehler aufgetreten. $ ls -l total 0 -r--r--r-- 1 roland_mainz Kein 0 Jun 24 12:28 test1.txt $ getfacl test1.txt # file: test1.txt # owner: roland_mainz # group: Kein user::r-- group::r-- other::r-- ---- snip --- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org

Re: [Ms-nfs41-client-devel] Cygwin&mingw svn fails on NFS4 share

2024-06-14 Thread Roland Mainz via Cygwin
2.0/share/man/ # (e.g. testing using a FreeBSD stable release branch, so we always have the same files being checked out) ? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\

Re: Cygwin generates syscalls for *.lnk files on filesystems with native symlink support?

2024-06-07 Thread Roland Mainz via Cygwin
t return values) we're done here and are going > to fall back to checking for symlinks in the leading path components. > > If we got over that, the check for .exe is unavoidable. [snip] What about doing lookups in parallel, e.g. use |NtCreateFile()| with an |IO_STATUS_BLOCK|, and do look

Re: new git update fails with fatal: fetch-pack: invalid index-pack output

2024-06-06 Thread Roland Mainz via Cygwin
ster' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m fatal: premature end of pack file, 16 bytes missing error: index-pack died fatal: remote transport reported error snip --

Re: [Ms-nfs41-client-devel] WinSG Re: ANN: NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-05-28 ...

2024-06-01 Thread Roland Mainz via Cygwin
oups Same problem... I'm not even sure the default Windows Explorer has an API for its access token... ;-( > - Native Windows utilities use /? for help, not --help Done, I added winsg /? (see https://github.com/kofemann/ms-nfs41-client/commit/e170a8a37f218d2f03a651efc6593c1e9ed0869e?diff=u

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Roland Mainz via Cygwin
el,cygrunsrv,cygutils,cygutils-extra,bash,bzip2,coreutils,procps-ng,time,util-linux ---- snip Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/

Re: Cygwin setup-x86_64.exe cannot install into UNC paths...

2024-05-27 Thread Roland Mainz via Cygwin
On Mon, May 27, 2024 at 1:11 PM Roland Mainz wrote: > I tried to install Cygwin on a network share using the UNC path name > (e.g. \\derfwnb4966_ipv4@2049\nfs4\storagetek\cygwintest001\), but got > this response: "The install directory must be absolute, with both a > drive l

Cygwin setup-x86_64.exe cannot install into UNC paths...

2024-05-27 Thread Roland Mainz via Cygwin
ossible to remove this restriction, so Cygwin can be installed into UNC paths, please ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;

Re: Technical reason why 32bit Cygwin cannot be installed on 64bit Windows?

2024-05-18 Thread Roland Mainz via Cygwin
eutils,getent,gdb,grep,hostname,less,libiconv,libiconv2,pax,pbzip2,procps-ng,sed,tar,time,util-linux,wget,libnfs,make,git,dos2unix snip ---- Bye, Roland P.S.: Offtopic, just noting it here because I wasted a lot of time: Windows 10/32bit (Win10_22H2_German_x32v1.iso) on VMware Workstation

Re: Wrong value for |FileNormalizedNameInfo| (|24| vs. |48|) in Cygwin 3.6 /usr/include ...

2024-05-15 Thread Roland Mainz via Cygwin
On Sat, May 11, 2024 at 6:17 PM Brian Inglis via Cygwin wrote: > On 2024-05-11 05:30, Roland Mainz via Cygwin wrote: > > I'm writing a test program for |FileNormalizedNameInfo| right now (see > > https://rovema.kpaste.net/07074abc). > > Per > > https://learn.micro

Wrong value for |FileNormalizedNameInfo| (|24| vs. |48|) in Cygwin 3.6 /usr/include ...

2024-05-11 Thread Roland Mainz via Cygwin
oto 3.6.0-0.115.g579064bf4d40.x86_64 2024-04-09 21:11 UTC x86_64 Cygwin snip ---- ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- P

Re: |FILE_ID_BOTH_DIR_INFORMATION| fields |ShortName|+|ShortNameLength| mandatory for Cygwin and Window 10 ?

2024-05-02 Thread Roland Mainz via Cygwin
On Sat, Apr 27, 2024 at 5:03 PM Brian Inglis via Cygwin wrote: > > On 2024-04-27 07:08, Roland Mainz via Cygwin wrote: > > Are the |FILE_ID_BOTH_DIR_INFORMATION| fields > > |ShortName|+|ShortNameLength| mandatory these days, e.g. is it legal > > to set |ShortNameLength = 0

|FILE_ID_BOTH_DIR_INFORMATION| fields |ShortName|+|ShortNameLength| mandatory for Cygwin and Window 10 ?

2024-04-27 Thread Roland Mainz via Cygwin
? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- Problem reports: https://cygwin.com/problems.html FAQ:

User impersonation in filesystem mini-redirector daemon works with cmd.exe but not Cygwin mintty.exe ?

2024-04-24 Thread Roland Mainz via Cygwin
n the min-rdr works and each thread properly gets a thread/impersonation token. Does anyone have an idea what might be the difference in this case, and how I can debug this further ? Bye, Roland P.S.: Out of curiosity, I tried this with /usr/bin/newgrp, and in this case the min-rdr daem

Updating cygwin "libnfs" package ?

2024-03-22 Thread Roland Mainz via Cygwin
966_ipv6linklocal/net_tmpfs2?version=4" drwxrwxrwx 2 65534 65534 40 test2 drwxrwxrwx 2 65534 65534 40 test1 snip Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Un

Re: Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'

2024-03-11 Thread Roland Mainz via Cygwin
cb6f7.o /cygdrive/t/tmpdir/x-8cb6f7.o: empty $ echo "foo" >>/cygdrive/t/tmpdir/x-8cb6f7.o $ cat /cygdrive/t/tmpdir/x-8cb6f7.o foo snip I have no idea why clang fails in this case... I need help with this one... Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsi

Re: Native posix_spawn() in Cygwin?

2024-03-06 Thread Roland Mainz via Cygwin
ent process. 2. Solaris's ksh93 (which is used as /sbin/sh+/bin/sh) got support for |posix_spawn()| (thanks for David Korn and Glenn Fowler for doing that) 3. JAVA was modified to use |posix_spawn()| 4. Oracle was asked to use |posix_spawn()| too For Cygwin I think it would be good to

Re: Will all SIDs fit into |SECURITY_MAX_SID_SIZE| bytes ? / was: Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-25 Thread Roland Mainz via Cygwin
On Sat, Feb 24, 2024 at 7:57 PM Corinna Vinschen via Cygwin wrote: > > On Feb 24 15:38, Roland Mainz via Cygwin wrote: > > On Thu, Feb 22, 2024 at 8:11 PM Corinna Vinschen via Cygwin > > wrote: > > > On Feb 22 18:38, Roland Mainz via Cygwin wrote: > > > &g

Will all SIDs fit into |SECURITY_MAX_SID_SIZE| bytes ? / was: Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-24 Thread Roland Mainz via Cygwin
On Thu, Feb 22, 2024 at 8:11 PM Corinna Vinschen via Cygwin wrote: > On Feb 22 18:38, Roland Mainz via Cygwin wrote: > > If I switch the current user's group with /usr/bin/newgrp, how can a > > (native) Win32 process use > > |GetTokenInformation(GetCurrentThreadToken(

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-23 Thread Roland Mainz via Cygwin
On Fri, Feb 23, 2024 at 4:47 PM Corinna Vinschen via Cygwin wrote: > On Feb 23 14:03, Roland Mainz via Cygwin wrote: > > On Thu, Feb 22, 2024 at 8:11 PM Corinna Vinschen via Cygwin > > wrote: > > > On Feb 22 18:38, Roland Mainz via Cygwin wrote: > > > > If I

Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-23 Thread Roland Mainz via Cygwin
On Thu, Feb 22, 2024 at 8:11 PM Corinna Vinschen via Cygwin wrote: > On Feb 22 18:38, Roland Mainz via Cygwin wrote: > > If I switch the current user's group with /usr/bin/newgrp, how can a > > (native) Win32 process use > > |GetTokenInformation(GetCurrentThreadToken(

Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-02-22 Thread Roland Mainz via Cygwin
Hi! If I switch the current user's group with /usr/bin/newgrp, how can a (native) Win32 process use |GetTokenInformation(GetCurrentThreadToken(), ...)| to find out which group is the new "current group" (e.g. which |TokenInformationClass| should I use) ? ---- By

Group name madness: "CurrentSession" vs. "LogonSessionId_0_111590" vs. "NT AUTHORITY\LogonSessionId_0_111590" ...

2024-02-18 Thread Roland Mainz via Cygwin
d_t|/|gid_t| collisions, and allows "identify mapping", e.g. via a idmapd daemon. Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) --

/usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-23 Thread Roland Mainz via Cygwin
Hi! - Small bug report: Cygwin 3.5. now has support for SEEK_HOLE (thanks! :-) ), but /usr/bin/fallocate is still missing in the "util-linux" package. Can someone please enable that tool ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\

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

2024-01-11 Thread Roland Mainz via Cygwin
is a really user-unfriendly interface. Actually Solaris /usr/bin/ls has option "-@" (basically ls -l plus ADS support, e.g. ls -l output has an @ displayed after the file permission bits for files that have alternate data streams). The plan was to make that the default for ls -l

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

2024-01-11 Thread Roland Mainz via Cygwin
e a dir which lists only Windows file names which match "foo:*" I can support such an effort with testing, and a cleanroom implementation of https://illumos.org/man/1/runat (see https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/runat/runat.c for the Solaris/Illumos

cygwin@cygwin.com

2023-12-23 Thread Roland Mainz via Cygwin
", ... } (instead of calling the kernel for each suffix independently) and cache that information for the lifetime of the matching POSIX function call ? The idea is to reduce the number of userland<--->kernel roundstrips from to <1>, and filesystem drivers could be optimized even fu

Automatic Cygwin installation for CI ?

2023-12-15 Thread Mainz, Roland via Cygwin
Hi! Is there any documentation how Cygwin 3.5.0 can be automatically (without GUI and user intervention, e.g. via *.bat script) be installed as part of a CI (Continuous integration) build environment ? Bye, Roland i. A. Roland Mainz Entwickler Steuerungssoftware TEE ROVEMA

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

2023-11-15 Thread Mainz, Roland via Cygwin
er a bit more user-friendly... Versions: snip $ uname -a CYGWIN_NT-10.0-19045 futuramapainmonster4 3.5.0-0.461.g324ace778f70.x86_64 2023-11-14 17:30 UTC x86_64 Cygwin $ ./setup-x86_64 -V Cygwin setup 2.926 ---- snip Bye, Roland i. A. Roland Mainz Entwickler Steuerungssoftware

Watch open/read/write/close WIndows syscalls with strace ?

2023-11-02 Thread Roland Mainz via Cygwin
trace for a new process and all its process and thread children ? I tried many combinations of --mask=xyz, -etc, but still do not see any I/O happening... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&am

Cygwin |chroot()| "bad" - but what should replace it ? / was: Re: process substitution to create a virtual file doesn't work in chroot environment

2023-10-21 Thread Roland Mainz via Cygwin
omebody asking to keep it. Given that it never did what > chroot is intended, don't use it. What should replace it if you rip it out ? And why is the implemenation "bad" ? Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist,

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

2023-10-16 Thread Roland Mainz via Cygwin
Eb () from /usr/bin/cygQt5Core-5.dll #29 0x7fff4ea47b9f in cygwin1!.getreent () from /usr/bin/cygwin1.dll #30 0x7fff4e9e4981 in cygwin1!.assert () from /usr/bin/cygwin1.dll #31 0x in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) snip B

/usr/bin/realpath cannot handle UNC paths ?

2023-09-28 Thread Mainz, Roland via Cygwin
" realpath: //crawlinghorror_ipv6/home/rmainz/tmp/projekt_kraken/try11_rde/RDE-Development/build_windows10_msnfs_ipv6: No such file or directory snip Bug or feature ? ---- Bye, Roland i. A. Roland Mainz Entwickler Steuerungssoftware TEE ROVEMA GmbH Industriestr. 1, 35463 Fernwald, Germany T 

Cygwin/Win32 utility function to convert "raw" IPv6 address string into *.ipv6-literal.net string ?

2023-09-27 Thread Mainz, Roland via Cygwin
-73ce.ipv6-literal.net ---- Bye, Roland i. A. Roland Mainz Entwickler Steuerungssoftware TEE ROVEMA GmbH Industriestr. 1, 35463 Fernwald, Germany T  +49 641 409 528 @ roland.ma...@rovema.de   www.rovema.com Rovema It's about your products. https://www.rovema-experience.com

RFE: Cygwin installer should offer option "Add Cygwin /usr/bin to system path" ...

2023-09-16 Thread Mainz, Roland via Cygwin
ers just to launch a shell (and other mundane tasks). Bye, Roland i. A. Roland Mainz Entwickler Steuerungssoftware TEE ROVEMA GmbH Industriestr. 1, 35463 Fernwald, Germany T  +49 641 409 528 @ roland.ma...@rovema.de   www.rovema.com Rovema It's about your products. 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-25 Thread Roland Mainz via Cygwin
On Fri, Aug 25, 2023 at 2:18 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'

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-22 Thread Roland Mainz via Cygwin
ta-less i-node). Well, this is what RFS (see https://en.wikipedia.org/wiki/Remote_File_Sharing) was doing - but it was removed in Solaris 2.4, because its complexity was too great (well, the original implementation was simple and clean, and then it grew all over the kernel just to handle all corner c

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

2023-08-14 Thread Roland Mainz via Cygwin
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 with both custom binaries and sources > > > bo

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

2023-08-14 Thread Roland Mainz via Cygwin
On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin wrote: > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > > Hi! > > > > > > > > Cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 has some weird > > path problems with network

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

2023-08-12 Thread Roland Mainz via Cygwin
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 > > > login) from Windows cmd.exe, e.g

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

2023-08-12 Thread Roland Mainz via Cygwin
stems are from the same server. This is NOT the same as the script tries to unmount the filesystem it is residing on - Z: is mounted separately, and a different exported directory than H:, and yet I can reproduce that issue (after around 30-40 experiments, until I remembered that ksh93 keeps a fd to the s

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

2023-08-11 Thread Mainz, Roland via Cygwin
ith C:\cygwin64\, followed by the bind mount name (\home\rmainz). Bye, Roland i. A. Roland Mainz Entwickler Steuerungssoftware TEE ROVEMA GmbH Industriestr. 1, 35463 Fernwald, Germany T  +49 641 409 528 @ roland.ma...@rovema.de   www.rovema.com Rovema It's about your products. https://

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

2023-08-06 Thread Roland Mainz via Cygwin
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 > login) from Windows cmd.exe, e.g. if someone ssh's into a Windows > machine he/she ends/up in a cmd.exe and not bash... ping! ---- Bye, Roland --

Automounter in Cygwin to mount NFS home dir on demand ?

2023-07-28 Thread Roland Mainz via Cygwin
Hi! Does Cygwin have something like a Solaris/Linux autofs-style automounter ? The idea is to mount NFS home dirs automagically the first time someone uses them, e.g. $ cd /home/chickenmonster/ # automagically mounts NFS dir mymonsternfs:/export/home/chickenmonster/ Bye, Roland

Map home dir drive (H:) to /home/myuser/ ?

2023-07-28 Thread Roland Mainz via Cygwin
if scripts try to use the physical path (e.g. realpath(1)) [2]=And yes, I am not a Windows guru, and likely use the wrong terms/vocabulary here... ;-(( MfG, Roland Mainz -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&

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

2023-07-28 Thread Roland Mainz via Cygwin
Hi! Is there an official way to enter the Cygwin command line (e.g. bash login) from Windows cmd.exe, e.g. if someone ssh's into a Windows machine he/she ends/up in a cmd.exe and not bash... Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/

Re: Cygwin making files inaccessible?

2022-02-06 Thread Roland Schwingel
time but frequently. When using windows Explorer I got a message like "Permissions are not sorted in the correct way" (in german) when I tried to see permissions. And afterwards they have been quite strange and files where not accessable / executable. I have it with 3.x up to 3.3.

permissions problems with files on samba share

2022-01-18 Thread Roland Schwingel
3.3.3 did not change a thing. The CYGWIN envvar is empty on both installs. View of a sample folder in my homeaccount (~/test): native linux: # ls -al ~/test total 36 drwxrwxr-x+ 2 roland develop 4096 Jan 18 20:16 . drwxr-xr-x 84 roland develop 20480 Jan 18 20:17 .. -rw-rwxr--+ 1 roland develop

Re: Cygwin/X on Windows 10 won't launch apps from .XWinrc menus

2021-08-23 Thread Roland Roberts
On 8/21/2021 10:49 AM, Jon Turney wrote: On 10/08/2021 13:58, Roland Roberts wrote: I have a new, company-supplied Windows 10 laptop, using Cygwin to do development. I’m having a problem getting XWin to launch apps. XWin appears to be mostly working normally, meaning if I launch a Cygwin

Re: Cygwin/X on Windows 10 won't launch apps from .XWinrc menus

2021-08-19 Thread Roland Roberts
On 8/19/2021 2:41 PM, Eliot Moss wrote: On 8/18/2021 7:19 PM, Roland Roberts wrote: On 8/10/2021 8:58 AM, Roland Roberts wrote: I have a new, company-supplied Windows 10 laptop, using Cygwin to do development. I’m having a problem getting XWin to launch apps. XWin appears to be mostly

Re: Cygwin/X on Windows 10 won't launch apps from .XWinrc menus

2021-08-18 Thread Roland Roberts
On 8/10/2021 8:58 AM, Roland Roberts wrote: I have a new, company-supplied Windows 10 laptop, using Cygwin to do development. I’m having a problem getting XWin to launch apps. XWin appears to be mostly working normally, meaning if I launch a Cygwin mintty instance, I can manually set DISPLAY

Cygwin/X on Windows 10 won't launch apps from .XWinrc menus

2021-08-10 Thread Roland Roberts
/bin/emacs"     // […]     } Any suggestions on where to poke to diagnose this? My home Windows 10 machine has no problem at all. Oh, and cygcheck report version 3.1.4. Yes, that’s a little old, but we are stuck there until we can work out an issue with our build

Re: Windows 7, cygwin > 3.1.4 symlink issue

2020-09-17 Thread Roland Roberts
On 8/24/2020 5:43 PM, Roland Roberts wrote: I have one machine, a company machine which makes it hard to post details, which is running Windows 7. We run cygwin as our development environment for Java, but Java is installed as a Windows program. The scripts that do the builds are bash scripts

Windows 7, cygwin > 1.4.1 symlink issue

2020-08-24 Thread Roland Roberts
versions of cygwin can't be used. roland -- 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/X XWinrc menu no longer launches after recent updates

2020-03-07 Thread Roland Roberts
On 3/3/2020 8:12 PM, Roland Roberts wrote: On 3/3/2020 7:59 AM, Takashi Yano wrote: On Tue, 03 Mar 2020 12:40:17 + "Henry S. Thompson" wrote: Takashi Yano writes: This bug was already fixed in current git head. Current git head for Cygwin?  Or mintty? I mean cygwin. Beca

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Roland Roberts
gwin 3.1.4 and mintty 3.1.4. I tried rolling back just mintty to 3.1.0 and it still happened. Then I rolled both of them back and it no longer happens, at least on one of my systems where I am *not* running sshd. Now to go try the other one.... roland -- Problem reports: http://

Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-02 Thread Roland Roberts
u. The log entry makes it clear that it is seen and is trying. Oh, and from a mintty shell, if I set DISPLAY=:0.0 when X is running, I *can* launch other X apps. 2041 roland> cat XWin.0.log Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.20.5.0 OS: CYGWIN_NT-10.0-18

Re: Unknown+User Unix_Group+505 on smb shares in a domian

2016-09-29 Thread Roland Schwingel
n all servers > to AD. That would be a much more straightforward solution. My servers (linux with samba 4.4) are joined to the domain. An older cygwin 1.7 does not show this problem. Presently this problem hinders myself for quite some while to move to a newer cygwin version. In my cas

Re: Re-install of cygwin today 4/7/16 and xterm missing

2016-04-08 Thread REBSTOCK, ROLAND
Thank you Sent from my iPhone > On Apr 8, 2016, at 9:40 AM, Jon Turney wrote: > >> On 08/04/2016 02:13, REBSTOCK, ROLAND wrote: >> All, I reinstalled Cygwin on my win7 workstation and though I can >> start a X server, when I right click the X icon in the task menu I

Re-install of cygwin today 4/7/16 and xterm missing

2016-04-07 Thread REBSTOCK, ROLAND
All, I reinstalled Cygwin on my win7 workstation and though I can start a X server, when I right click the X icon in the task menu I no longer have a option to start a xterm.  What I found is I have to access CygwinX via start menu and then click on xterm which then starts up a new X applicatio

Re: wish: setup.exe should remember the desktop icon setting

2015-02-22 Thread Roland Illig
e? And whenever a user changes his mind, he will see the checkbox again after every installation of a package. (Since that’s how setup.exe currently works.) Roland -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

wish: setup.exe should remember the desktop icon setting

2015-02-22 Thread Roland Illig
uncheck it again. setup.exe should remember the last setting of the checkbox. Roland -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe

Re: bug: setup.exe repeatedly warns about space in folder name

2015-02-22 Thread Roland Illig
Am 22.02.2015 um 17:26 schrieb Andrey Repin: > Greetings, Roland Illig! > >> I have installed cygwin into C:\Program Files\cygwin. When I installed >> it for the first time, setup.exe warned me that there might be problems >> doing this. This warning was ok. > >&

wish: when setup.exe detects a running Cygwin process, it should retry

2015-02-22 Thread Roland Illig
is a running_processes_found flag somewhere that is set to true when this dialog pops up. This seems wrong since it should only be set when there were some running processes _and_ the user has chosen to continue anyway. Roland -- Problem reports: http://cygwin.com/problems.html FAQ

bug: setup.exe repeatedly warns about space in folder name

2015-02-22 Thread Roland Illig
install some new packages. This warning is annoying and should only be displayed when the destination folder doesn’t exist yet. Roland -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html

AVX __m256i return value

2014-07-05 Thread Roland Schulz
with GCC 4.8.3. The code is fine with GCC/Clang/ICC under Linux and MSVC/ICC under Windows. Is this a known problem or should I file a more detailed bug report? If so should I report this here or on the GCC bugzilla? Roland -- Problem reports: http://cygwin.com/problems.html FAQ:

1.7.22: CTRL+C on mingw applications

2013-07-23 Thread Roland Schwingel
is problem. Have I missed something in the time between 1.7.17 and now or is this a "new" bug (I could only loosely follow the mailing list in the past months)? Thanks for your help, Roland -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.co

Re: Install Problem: No Shortcuts

2013-05-01 Thread Scott Roland
o error or warning message was seen. Thanks. -- Scott Roland -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Install Problem: No Shortcuts

2013-05-01 Thread Scott Roland
osed to be clean. I had previous failed Cygwin install on this reimage, but I followed the uninstall instructions, rebooted and tried again. Any help would be appreciated. -- Scott Roland cygcheck.out Description: Binary data -- Problem reports: http://cygwin.com/problem

Re: tcsh hang while executing scripts which use pipes with backticks

2012-09-19 Thread Roeder Roland
After various different attempts to nail down this issue I have some hope now that I have found a fix for it. I analyzed the changes of last to current version of tcsh and found one that is related to context of the problem and somewhat suspicious as well. The change I did then was the following:

Re: tcsh hang while executing scripts which use pipes with backticks

2012-09-08 Thread Roeder Roland
to repro this problem so far? Thanks Roland -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

  1   2   >