Re: Request for Assistance: Non-Functioning Commands in Cygwin Environment

2025-04-28 Thread Andrey Repin via Cygwin
ace. The third cause could be forced ASLR. Cygwin's fork implementation is sensitive to address space layout changes. Don't do that for Cygwin. To the portqry, wmic and reg, IDK what is your issue. May be update Cygwin and try again? There were changes in socket code regarding pipelining.

Re: Overwriting /etc/fstab to simplify drivenames

2025-04-25 Thread Andrey Repin via Cygwin
r reply). Specifying "C:" instead of "C:\" (or, well, "C:/", which is synonymous) introduces ambiguity. Drive specification without a path points to "current path" on a specified drive. Which is not necessarily a root path. -- With best regards, Andrey Repin Frida

Re: /dev/null regression in Cygwin 3.6.1

2025-04-14 Thread Andrey Repin via Cygwin
ndetermined behavior. > In Cygwin 3.6.1, the contents of the file t-select-in.tmp is "0", > indicating that read()ing from file descriptor 0 would block. > This is a regression. What I've gathered is that in most cases reading from /dev/null should immediately return EOF. --

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-13 Thread Andrey Repin via Cygwin
Greetings, Jeremy Drake! > On Fri, 11 Apr 2025, Andrey Repin via Cygwin wrote: >> Though, I'm using takecommand's free runtime (TCC-RT), which has an explicit >> START /ELEVATED command, and I'm using a wrapper for such tasks. > cygutils' > cygsta

Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click?

2025-04-11 Thread Andrey Repin via Cygwin
using a wrapper for such tasks. Though, in hindsight, just creating an .LNK with "run as administrator" checkbox set in properties should suffice. -- With best regards, Andrey Repin Friday, April 11, 2025 19:26:03 Sorry for my terrible english... -- Problem reports:

Re: child_info_fork::abort: cygpng16-16.dll

2025-04-10 Thread Andrey Repin via Cygwin
carelessly injecting its modules into running process. -- With best regards, Andrey Repin Thursday, April 10, 2025 10:53:59 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.c

Re: symbolic link curiousity in 3.6.0

2025-04-01 Thread Andrey Repin via Cygwin
is displayed could be stale by the time it reached the user's eyes. -- With best regards, Andrey Repin Tuesday, April 1, 2025 13:05:20 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentati

Re: update-ca-trust does not create openssl bundle

2025-03-30 Thread Andrey Repin via Cygwin
Greetings, ASSI! > Andrey Repin via Cygwin writes: >> /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt is missing from my >> system. >> The `update-ca-trust extract` doesn't even touch it. >> >> What happened? > Fedora dropped the command

Re: update-ca-trust does not create openssl bundle

2025-02-28 Thread Andrey Repin via Cygwin
Greetings, ASSI! > Andrey Repin via Cygwin writes: >> /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt is missing from my >> system. >> The `update-ca-trust extract` doesn't even touch it. >> >> What happened? > Fedora dropped the command

Re: update-ca-trust does not create openssl bundle

2025-02-25 Thread Andrey Repin via Cygwin
Greetings, Marco Atzeri! > On 25/02/2025 08:00, Andrey Repin via Cygwin wrote: >> Greetings, All! >> > /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt is missing from my >> system. >> The `update-ca-trust extract` doesn't even touch it. >> > Wha

Re: Cloning enterprise github repo with cygwin git tries to use username/password auth, have to use Windows git

2025-02-10 Thread Andrey Repin via Cygwin
nfig --global credential.helper manager git config --global credential.modalPrompt true -- With best regards, Andrey Repin Monday, February 10, 2025 18:22:08 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Document

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

2025-02-06 Thread Andrey Repin via Cygwin
nd: "fsutil behavior set symlinkEvaluation L2L:1 L2R:0" - Will enable local to local symbolic links and disable local to remote symbolic links. It will not change the state of remote to remote links or remote to local links. - This operation takes

Re: Inheriting all ownership, rights and files from an user

2025-01-25 Thread Andrey Repin via Cygwin
re. Anyway, I took a picture > of the packages I had installed, and started from scratch. Thanks for the > support. I should have had, perhaps, done the icacls. But, one learns every > day. :-) -- With best regards, Andrey Repin Saturday, January 25, 2025 15:20:57 Sorry for my te

Re: Bug? GetCommandLineW() missing arguments in 64 bit Cygwin.

2025-01-19 Thread Andrey Repin via Cygwin
t;cmdline = %ls\n", cmdline); > return 0; > } Aside from the fact you shouldn't do that (calling native API's in Cygwin app without a very good reason), what is your CYGWIN env setting? -- With best regards, Andrey Repin Monday, January 20, 2025 01:16:12 Sorr

Re: env and PATH

2025-01-13 Thread Andrey Repin via Cygwin
Greetings, Federico Kircheis! > On 09/01/2025 08.31, Andrey Repin wrote: >> The apparent issue you are missing is that you are calling native app from >> Cygwin environment. >> Each have its own rules, and to have it working with minimal issues, you'd >> need to sa

Re: Cygwin main function: vulnerable to wchar_t to char conversion attacks or not?

2025-01-09 Thread Andrey Repin via Cygwin
t-unveiling-hidden-transformers-in-windows-ansi/ -- With best regards, Andrey Repin Friday, January 10, 2025 10:32:40 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.h

Re: env and PATH

2025-01-08 Thread Andrey Repin via Cygwin
ath helps. As you have figured out already. I provided a wrapper script I use myself, you could add any massaging to it that you feel necessary. Like `unset TERM` or PATH modifications. -- With best regards, Andrey Repin Thursday, January 9, 2025 10:24:05 Sorry for my terrible english...

Re: env and PATH

2025-01-04 Thread Andrey Repin via Cygwin
Greetings, Federico Kircheis! > On 04/01/2025 02.41, Andrey Repin wrote: >> Greetings, Federico Kircheis! >> >> Hello to everyone, >> > >> I've noticed that env seems to handle the environment variable PATH in >> > >> a particular way >

Re: zsh (oh-my-zsh) hangs on cygwin-3.5.5-1

2025-01-03 Thread Andrey Repin via Cygwin
Symlinks are fragile and easily lost to the sands of time. -- With best regards, Andrey Repin Saturday, January 4, 2025 04:43:59 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:htt

Re: env and PATH

2025-01-03 Thread Andrey Repin via Cygwin
; as-is, but could not find none. There's no need or reason to do it. In your case, what you wanted to achieve could be written as >> env -i "PATH=$(cygpath -UW):$(cygpath -US):$PATH" pwsh (The "%SystemRoot%" is NOT NECESSARILY 'C:\Windows', though you CAN

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

2025-01-03 Thread Andrey Repin via Cygwin
ill need to remount the paths under elevated token separately. Use logon scripting for that. Solves the problem the way it's intended to be solved. -- With best regards, Andrey Repin Saturday, January 4, 2025 04:23:39 Sorry for my terrible english... -- Problem reports: https://

Re: fail: sshd

2025-01-03 Thread Andrey Repin via Cygwin
rds, Andrey Repin Saturday, January 4, 2025 04:19:41 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscr

Re: cygpath and unc paths

2024-12-16 Thread Andrey Repin via Cygwin
of ls. > The error message is that the "value of argument path is not valid" F.e. Far manager works just fine with `goto:\\?\C:\`. More or less. -- With best regards, Andrey Repin Monday, December 16, 2024 15:57:08 Sorry for my terrible english... -- Problem reports:

Re: cygpath command no longer accepts -s (--short-name) switch

2024-11-15 Thread Andrey Repin via Cygwin
could simply be no short name. Check `cmd /C DIR /X`. Or for a more common solution, a batch script like @FOR %%i IN (%*) DO ECHO %%~si will be helpful. Pass it a list of names/paths and it will print the short versions of them line by line. -- With best regards, Andrey Repin Friday, Novem

Re: After ca-certificates update /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt is empty

2024-11-03 Thread Andrey Repin via Cygwin
Greetings, ASSI! > Andrey Repin via Cygwin writes: >> That was the first thing I tried. Then reinstalling. > Well, reinstalling should have helped: > --8<---cut here---start->8--- > # cygcheck -p ca-bundle.trust.crt > Found 3 matc

Re: After ca-certificates update /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt is empty

2024-11-03 Thread Andrey Repin via Cygwin
Greetings, ASSI! > Andrey Repin via Cygwin writes: >> I've experieenced an issue with my setup, that showed that >> /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt is empty after >> installing ca-certificates 2024.2.69-v8.0.401. >> Rolling back to v8.0.30

Re: Windows Server NFS, getfact not working on NFS

2024-10-27 Thread Andrey Repin via Cygwin
Greetings, Sam Edge via Cygwin! > On 27/10/2024 09:03, Andrey Repin via Cygwin wrote: >> It will only work inside Cygwin root tree, or on mounts with "acl" flag. > I beg to differ. I can read ACLs from a Linux Samba server without > requiring an explicit 'acl

Re: Windows Server NFS, getfact not working on NFS

2024-10-27 Thread Andrey Repin via Cygwin
fact works. There's nothing to debug. It will only work inside Cygwin root tree, or on mounts with "acl" flag. Which is, generally, a bad idea to have on directories shared with native tools. Ethereal issues will happen. -- With best regards, Andrey Repin Sunday, October 27

Re: Writing to '\\.\X:' that has no backing PhysicalDrive?

2024-10-24 Thread Andrey Repin via Cygwin
show any hard drives, Win32DiskImager crashes on launch. > Surprisingly, I couldn't find a decent GUI program for this task. -- With best regards, Andrey Repin Thursday, October 24, 2024 12:08:30 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.h

Re: Help understanding why a mount command is not working and how to fix it

2024-09-10 Thread Andrey Repin via Cygwin
utput if I do mkdir /foo first: > mount: /foo: Invalid argument `-o binary,…` > Hints on how to make this mount work? -- With best regards, Andrey Repin Tuesday, September 10, 2024 11:11:23 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.htm

Re: A/B install?

2024-08-31 Thread Andrey Repin via Cygwin
ot address the I have 60+ minty running, but this approach > can be done while rebooting. There's an easy way to know if any are still running. ps ax Then just hunt and shut down each of them. -- With best regards, Andrey Repin Sunday, September 1, 2024 01:44:20 Sorry for my t

Re: How to repair the symlinks in a copied cygwin64 tree

2024-08-09 Thread Andrey Repin via Cygwin
t;. It would have a chance of destroying permissions, I prefer reinstall, with backup of /etc/ and /usr/local directories (that's where I keep custom stuff). Since I don't use Cygwin's /home, it's easy for me. -- With best regards, Andrey Repin Friday, August 9, 2024 12:54:

Re: Why cygwin's history output is prefixed by two spaces?

2024-08-02 Thread Andrey Repin via Cygwin
d to this mailing list so I am replying by hand and I don't > know if the right headers will be included, so please excuse as well, > if the threads get messed up. -- With best regards, Andrey Repin Friday, August 2, 2024 11:37:34 Sorry for my terrible english... -- Problem reports

Re: Changing Default SSH Directory to E:\ in Cygwin

2024-07-24 Thread Andrey Repin via Cygwin
w to achieve this? > Any help would be greatly appreciated. 1. Make sure you are connecting to Cygwin's SSH, not Windows one. This is likely what happens as Cygwin would have put you into your home directory instead. -- With best regards, Andrey Repin Wednesday, July 24, 2024 1

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-21 Thread Andrey Repin via Cygwin
age is Danish or French? >> Did you try >> chcp.com 437 > That could change the character encoding, for some (older) programs, not > the language. You'd be surprised… >> or something like that? -- With best regards, Andrey Repin Monday, July 22, 2024 00:09:30

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-21 Thread Andrey Repin via Cygwin
nd not need to involve Cygwin at all. -- With best regards, Andrey Repin Monday, July 22, 2024 00:01:16 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.

Re: noacl no longer effective under /cygdrive. Still works in other locations

2024-07-21 Thread Andrey Repin via Cygwin
d > from there it works. Just set /cygdrive to noacl. In my experience, this is a safer choice for cross-system interaction. -- With best regards, Andrey Repin Sunday, July 21, 2024 23:59:06 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: crontab: no changes made to crontab

2024-07-07 Thread Andrey Repin via Cygwin
Greetings, Brian Inglis via Cygwin! > On 2024-07-06 04:50, Andrey Repin via Cygwin wrote: >> I'm trying to install a new cron job, and the thing fails claiming that it >> didn't see the edits I made to the file. >>>> # echo "USER=$USER" | crontab -

crontab: no changes made to crontab

2024-07-06 Thread Andrey Repin via Cygwin
07-06 13:44:45.168108900 +0300 >> +Access: 2024-07-06 13:46:35.198257000 +0300 >> +Modify: 2024-07-06 13:46:35.194253600 +0300 >> +Change: 2024-07-06 13:46:35.200254300 +0300 Is there a way around it that does not involve replacing crontab tool with my own script that has no

Re: ssh-add -l hangs under cygwin test 3.6.0-0.139.g...

2024-06-30 Thread Andrey Repin via Cygwin
guard script running that kill and restart the agent every hour if it is not responding within five seconds. This is not 100% reproducible, and hard to test due to timing issue, but the pattern is very noticeable. -- With best regards, Andrey Repin Sunday, June 30, 2024 11:42:51 Sorry for my

Re: No Native Language Support in browser started from shell prompt

2024-06-24 Thread Andrey Repin via Cygwin
anese and Korean > keyboard entry appear to be supported by both IME when it is started > from a mintty window with cygstart or directly with the cygdrive > path. If I'm allowed to hazard a guess, check if any of the environment variables set by Cygwin affecting your browser. My fir

Re: Cygwin/X as Shell replacement?

2024-06-19 Thread Andrey Repin via Cygwin
an alternative Windows shell? Can you? Yes. But, unless you run Explorer as shell, all the Metro interface will be unavailable. This includes, across many, all the configuration windows. -- With best regards, Andrey Repin Thursday, June 20, 2024 03:28:05 Sorry for my terrible english... --

Re: Cygwin outputting message to stderr on dofork EAGAIN failure even when Python exception is caught and handled

2024-06-17 Thread Andrey Repin via Cygwin
ode that, say, fork a process thousands of times, which reliable reproduce the issue) somebody else could run to test the cause, that would be wonderful. (If, however, you could find and fix the cause, that would be even more wonderful!) [1] https://www.cygwin.com/acronyms/#STC -- With best

Re: Request for support: some web pages on your site not responding

2024-06-04 Thread Andrey Repin via Cygwin
the responsible person to resolve this issue? >> Appreciate your assistance! > This mailing list is where available volunteers respond to help project users. That's most likely a spam bot harvesting email addresses. -- With best regards, Andrey Repin Tuesday, June 4, 2024

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

2024-05-31 Thread Andrey Repin via Cygwin
specially not in modern Windows. -- With best regards, Andrey Repin Saturday, June 1, 2024 00:14:18 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

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

2024-05-27 Thread Andrey Repin via Cygwin
n Cygwin, you may experience unexpected behavior across different systems if DLL address space layout come to be different from that where Cygwin was initially installed. -- With best regards, Andrey Repin Monday, May 27, 2024 16:15:05 Sorry for my terrible english... -- Problem reports: https://

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Andrey Repin via Cygwin
Greetings, Martin Wege! > 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\cygw

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Andrey Repin via Cygwin
g by a non-expert like me might not uncover > such things immediately, so I better ask the experts here What do you ACTUALLY want to do? -- With best regards, Andrey Repin Sunday, May 26, 2024 20:25:48 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-25 Thread Andrey Repin via Cygwin
sion, e.g. I'd like > to test multiple Cygwin versions in parallel. Yes, Cygwin by default does not integrate into %PATH% and multiple different versions can be run even at the same time. -- With best regards, Andrey Repin Sunday, May 26, 2024 08:55:34 Sorry for my terrible english...

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

2024-04-26 Thread Andrey Repin via Cygwin
ges per system locale. That > might be nice to watch as a human user, but impossible to write a > parser. That damn thing does not honor LC_ALL, and I am now basically > forced to write custom parsers for each customers language. Try `chcp 65001` before calling to it. It may behave better then.

Re: Issue with cygdrive mount, native symlinks, and noacl option

2024-04-26 Thread Andrey Repin via Cygwin
or > the destination but the underlying issue still seems like a bug or an > oversight to me, particularly given that nativestrict behaves differently > when it comes to evaluating mount options. See... > * Another workaround would be to use non-nativestrict symlinks but I want > to preserve i

Re: See repeated /usr/bin in my path

2024-04-17 Thread Andrey Repin via Cygwin
1,4b; \\#Subversion|$HOME|^(/usr(/local)?)?/bin\$#d;" | paste -sd:)" export PATH (Essentially, I push 4 predefined paths on top of the stack, then filter out the rest of the stack by some known patterns.) -- With best regards, Andrey Repin Thursday, April 18, 2024 00:07:59 Sorry

Re: Additional odd behavior after my upgrade to the latest CYGWIN64 version

2024-03-18 Thread Andrey Repin via Cygwin
--diff-filter=MAD" --find-renames=70 >> --irreversible-delete HEAD -- >> # The actual executed command is: >> git diff --minimal --diff-filter=mad --find-renames=70 --irreversible-delete >> HEAD -- I don't think that's how it is supposed to work. -- With

Re: Convert a file descriptor from Cygwin openat() to Win32 file HANDLE?

2024-03-04 Thread Andrey Repin via Cygwin
e a more meaningful suggestion to solve your specific issue. -- With best regards, Andrey Repin Monday, March 4, 2024 11:19:58 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:ht

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-29 Thread Andrey Repin via Cygwin
indows since > Windows 7--that's over 14 years ago as I write this.) Since Windows XP. -- With best regards, Andrey Repin Thursday, February 29, 2024 17:38:13 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https

Re: Howto to backup and restore windows ACL?

2024-02-29 Thread Andrey Repin via Cygwin
fortunately I'm still on backuppc 3.3 and can't ust rsync with --acl and > --xattr. > If I could extract the acls to a file, as "ntfssecaudit -b C:" would do and > restore them later as "ntfssecaudit -s C:" would do would be great. Look for tools like su

Re: Wrong NTFS permissions

2024-01-24 Thread Andrey Repin via Cygwin
utside the Cygwin root directory. Change the cygdrive entry in your /etc/fstab to contain noacl option and your life suddenly become easier. >> none /cygdrive cygdrive noacl,binary,nouser,posix=0 0 0 > Anyway, in my initial report, the "getfacl: b: Invalid argument" message >

Re: mintty ^H weirdness with ssh to one specific Debian 11 system

2024-01-18 Thread Andrey Repin via Cygwin
entry, which could be 'vt100' or even 'dumb', which is not what you want, certainly. -- With best regards, Andrey Repin Thursday, January 18, 2024 16:05:02 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: Capturing a Cygwin instance from another PC

2024-01-14 Thread Andrey Repin via Cygwin
that were manually installed), replace version string with "0"; - if replacement was successful, go to next line; - delete line. Once I made sure the script is right, I just appended its output to the end of installed.db on target partition. Then run setup.exe and everything happened accordi

Re: How to map a NAS drive in /etc/fstab that is of type

2024-01-08 Thread Andrey Repin via Cygwin
ser-defined mount root for Windows drives. Default is "/cygdrive", and example configuration you can find in /etc/fstab. To mount Windows drives as simple /, you could define as "/". -- With best regards, Andrey Repin Monday, January 8, 2024 23:05:44 Sorry for my terri

Re: Firewall ports for Cygwin setup.exe to access mirror.kernel.org?

2024-01-07 Thread Andrey Repin via Cygwin
Greetings, Dan Shelton! > Can someone provide a list of TCP ports which must be open in the > outgoing firewall settings, so Cygwin setup.exe can fetch data from > mirror.kernel.org? Standard HTTP ports. 80/443 -- With best regards, Andrey Repin Sunday, January 7, 2024 23:20:38 Sor

Re: [EXTERNAL] mkdir create directory with permissions in wrong order

2023-12-23 Thread Andrey Repin via Cygwin
problem of Explorer, not Cygwin, that it can not handle permissions in a given order. See the documentation link above. -- With best regards, Andrey Repin Saturday, December 23, 2023 19:05:59 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ

Re: Custom package repository in addition to default Cygwin packages?

2023-12-22 Thread Andrey Repin via Cygwin
-- The problem is that the --help list do not mention the possibility to use multiple -s switches. -- With best regards, Andrey Repin Friday, December 22, 2023 22:21:36 Sorry for my terrible english... -- Problem reports: https://cygwin

Re: Cygwin is not passing arguments to Windows apps

2023-12-22 Thread Andrey Repin via Cygwin
C:\ > I've taken them out and it's working now, but I'm still puzzled by how > those lines created the problem. Those lines worked verbatim on my last > Cygwin installation; what changed? Bugs getting fixed, I presume. -- With best regards, Andrey Repin Friday, Dece

cygwin@cygwin.com

2023-12-22 Thread Andrey Repin via Cygwin
appy. > @Corinna Vinschen Would that be acceptable? Make a patch to begin discussion. Also, not all mangling is meaningful to disable. F.e. disabling .exe magic on Windows would be surprising to the end user. -- With best regards, Andrey Repin Friday, December 22, 2023 21:50:58 Sorry fo

Re: Cygwin api to punch a hole into a file?

2023-12-04 Thread Andrey Repin via Cygwin
a given point, the *allocation size* will be > rounded up to 64K and from that point on, it will be in 64K chunks. Also > sparsifying and desparsifying of blocks only works in 64K chunks. -- With best regards, Andrey Repin Monday, December 4, 2023 18:56:37 Sorry for my terrible engl

Re: cmd.exe clone with UNC support?

2023-11-30 Thread Andrey Repin via Cygwin
>> using UNC paths in cmd.exe for many years. >> >> It might help to describe your problem rather than a proposed solution. So, ^^^ this. -- With best regards, Andrey Repin Friday, December 1, 2023 04:42:26 Sorry for my terrible english... -- Problem reports: https://

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

2023-11-30 Thread Andrey Repin via Cygwin
interesting question is: why do you need so many _Cygwin_ mounts? There's a lot of other options, from NTFS junctions to using UNC paths directly (Cygwin tools aren't picky in this regard). -- With best regards, Andrey Repin Friday, December 1, 2023 04:53:35 Sorry for my terrible en

Re: Set localisation locale of Windows netstat?

2023-11-24 Thread Andrey Repin via Cygwin
ntent along the lines of > #!/bin/dash > > [ -f /usr/local/bin/chcp ] || { > ln -fsT "$( cygpath -S )/chcp.com" /usr/local/bin/chcp > } > > exit 0 and it will create a link on the next fill setup run. -- With best regards, Andrey Repin Friday, November 24, 2023 17:23:

Re: Cygwin tool to differ junctions from soft links?

2023-11-16 Thread Andrey Repin via Cygwin
egards, Andrey Repin Thursday, November 16, 2023 11:46:09 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsub

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

2023-11-15 Thread Andrey Repin via Cygwin
possible to modify "setup-x86_64.exe" to stop cygserver before > doing the installation process and re-start it after it ? There's no reason to do so, as there's no easy way to detect beforehand, if you actually need to do so. You could have cygserver running from one Cygwin

Re: Messages not delivered to the cygwin@ mailing list

2023-11-06 Thread Andrey Repin via Cygwin
Greetings, Ernie Rael! > On 23/09/15 1:59 PM, Andrey Repin via Cygwin wrote: >> Greetings, cygwin-ow...@cygwin.com! >> >> It is about 4 months since I lost ability to post to the many mailing lists >> from my primary address. Messages are seemingly coming into a blac

Re: Cant install Cygwin Virt-manager that asks for library that asks for python2

2023-11-06 Thread Andrey Repin via Cygwin
not when there is no more to >> add >> > But i cant install virt-manager to use iso files. You don't need it at all to begin with. Cygwin is a userspace library, not a kernel driver. It has access to anything Windows system provides the easy way. Just mount ISO in the system any wa

Re: scp and ssh 'cat' stalls at 64k bytes

2023-11-06 Thread Andrey Repin via Cygwin
y added 'localhost' (ED25519) to the list of known hosts. 1+0 records in 1+0 records out 65537 bytes (66 kB, 64 KiB) copied, 7.67032 s, 8.5 kB/s $ dd if=/dev/zero bs=64k count=1M | ssh localhost -- cat > /dev/null 1048576+0 records in 1048576+0 records out 68719476736 bytes (69 GB, 64 G

Re: OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING)

2023-11-06 Thread Andrey Repin via Cygwin
up This error means that a connecting party had sent server name which server did not acknowledge. > This prevents proxytunnel from being able to connect to the remote peer. > What might be wrong? If possible, I would look at the protocol log for connection, if I were you. -- With b

Re: make missing shared libraries: cygguile-3.0-1.dll

2023-11-06 Thread Andrey Repin via Cygwin
ws tools (including netsh, for example) will behave more consistently in such case. -- With best regards, Andrey Repin Thursday, May 18, 2023 10:21:41 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com

Re: Getting return code "127" after execution of program

2023-11-06 Thread Andrey Repin via Cygwin
output of cygcheck -svr as per >> Problem reports: https://cygwin.com/problems.html > Please let me know if you want more details. Did you install cygwin on the target system or you naively tried to copy only DLL's you think are needed? -- With best regards, Andrey Rep

Re: Slow Cygwin commands even with Cygserver

2023-11-06 Thread Andrey Repin via Cygwin
BUILTIN\Users:(I)(RX) > Successfully processed 1 files; Failed processing 0 files This clearly indicates that there's a domain group ACE on the file. Domain access to resolve account names could cause slow file I/O. Though, it should have been cached if the same ACL

Re: Another confusing error from someone else's Cygwin setup

2023-11-06 Thread Andrey Repin via Cygwin
'\r' > script.fixed < script.erring > This was pretty perplexing, It is actually pretty clear, though. $ od -t x1a < script.erring See the output. -- With best regards, Andrey Repin Wednesday, July 5, 2023 22:22:57 Sorry for my terrible english... -- Problem rep

Re: Find free drive letter in Cygwin?

2023-11-06 Thread Andrey Repin via Cygwin
t;> disclaimer above. > So it would be a valid solution in bash to loop from a-z in > /proc/cygdrive/$letter/ and see whether this is a dir, right? If you want a temporary bind, A: and B: are often free on modern systems. Or you could just make a junction to a directory instead. mklink /J $(

Re: /usr/bin/realpath cannot handle UNC paths ?

2023-11-06 Thread Andrey Repin via Cygwin
LAN/D $ echo "$PWD" //DAEMON-EC.DARKDRAGON.LAN/D $ which realpath /bin/realpath $ /bin/realpath "$PWD" //DAEMON-EC.DARKDRAGON.LAN/D -- With best regards, Andrey Repin Friday, September 29, 2023 23:04:17 Sorry for my terrible english... -- Problem reports:

Re: git 2.39.0 change from relative to absolute submodule paths

2023-11-06 Thread Andrey Repin via Cygwin
Samba and I unable to run any tests until it is restored. -- With best regards, Andrey Repin Sunday, May 21, 2023 19:05:26 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://

Re: Most git executables are hard links to git.exe?

2023-11-06 Thread Andrey Repin via Cygwin
k target, thoroughly ruining the executable name and associated CWD. Making them unusable as command processors in general. -- With best regards, Andrey Repin Monday, July 31, 2023 16:33:49 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: Cygwin 'cp' command is still slow after Cygserver is installed

2023-04-20 Thread Andrey Repin via Cygwin
n current directory. Just icacls "interchange.20230418091901.tmp" should suffice. -- With best regards, Andrey Repin Thursday, April 20, 2023 10:31:55 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com

Re: Can not stat file with utf char U+F020

2023-04-17 Thread Andrey Repin via Cygwin
y tricky. My understanding is that on Windows, a regular file name can't start or end with space, and can't end with dot. There's ways to game this rule, but in simple cases this is how it works for most part. If a similar rule can be crafted for filesystems under discussio

Re: setup 2.925 release candidate - please test

2023-04-15 Thread Andrey Repin via Cygwin
version) >> > just as info, > Avira Antivirus just decided that Setup and Mintty are dangerous Each new file named "setup" is considered "dangerous" these days. -- With best regards, Andrey Repin Saturday, April 15, 2023 18:02:45 Sorry for my terrible english... --

Re: have cygwin setup.exe signed and/or in the MS store

2023-04-12 Thread Andrey Repin via Cygwin
gh I guess that might not be possible with their > policy)? msgid:camu-taupf3dzpye3xj0f_gyrchzprxjxbyafd6tt9my+a7j...@mail.gmail.com msgid:CAGZiy71hduc-LZvLvqXWNzYpN7foKrvobVP5q3S=keagukq...@mail.gmail.com And earlier mails on the subject. -- With best regards, Andrey Repin Wednesday, April

Re: Changing user home to overlap Windows user home possible? Or a bad idea?

2023-04-11 Thread Andrey Repin via Cygwin
Greetings, Thomas Schweikle! > Am Sa., 08.Apr..2023 um 10:30:47 schrieb Andrey Repin: >> Greetings, Thomas Schweikle! >> >> Is it possible to have the same home for Windows and cygwin? >> > See /etc/nsswitch.conf and >> > https://cygwin.com/cygwin-u

Re: issue when piping from a windows program

2023-04-11 Thread Andrey Repin via Cygwin
n is up to date, windows 10. What gives? You don't need d2u. Use `… | iconv -f UTF16LE | tr -d '\r'` (Don't even need -t for iconv - it assumes current locale settings as default source/destination encoding.) -- With best regards, Andrey Repin Tuesday, April 11, 2023 17:41:32

Re: bash shell script: recently running, now failing

2023-04-08 Thread Andrey Repin via Cygwin
Greetings, Brian Inglis via Cygwin! > On 2023-04-06 06:21, Andrey Repin via Cygwin wrote: >>> I have a "hash bang" bash shell script i.e. first line >>> #! /bin/sh >>> or equivalently >>> #! /bin/bash >> By default, sh is bash in base Cygwin

Re: Changing user home to overlap Windows user home possible? Or a bad idea?

2023-04-08 Thread Andrey Repin via Cygwin
cygdrive noacl,binary,nouser,posix=0 0 0 And usertemp idea is also a good one: >> none /tmp usertemp binary,nouser,posix=0 0 0 -- With best regards, Andrey Repin Saturday, April 8, 2023 11:09:33 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.htm

Re: bash shell script: recently running, now failing

2023-04-06 Thread Andrey Repin via Cygwin
for a lot of bash'izms in scripts, which would not otherwise run under (d?a)?sh. See the post-install script attached. -- With best regards, Andrey Repin Thursday, April 6, 2023 15:18:19 Sorry for my terrible english... zp_dash-as-bin-sh.dash Description: Binary data -- Pro

Re: Getting Error while connect to DB2 from Cygwin 64-bit

2023-04-04 Thread Andrey Repin via Cygwin
bute it under the terms of > the GNU General Public License version 3 or (at your option) a later > version. > This program has absolutely no warranty. > Please let me know if you want more details. -- With best regards, Andrey Repin Tuesday, April 4, 2023 10:33:35 Sorry for my t

Re: How to remove "Priveleged Server" as default UAC prompt?

2023-03-29 Thread Andrey Repin via Cygwin
name (I have admin rights, but UAC is enabled) > will it be able to automate actions that require admin privileges? Not to my knowledge. Use system scheduler to automate system tasks. -- With best regards, Andrey Repin Wednesday, March 29, 2023 12:34:52 Sorry for my terrible english

Re: cygwin gdb: issue with non-posix style absolute paths

2023-03-04 Thread Andrey Repin via Cygwin
pport > windows? In other words - does cygwin apply patches or flags to gdb to get > it to work with cygwin and windows paths? -- With best regards, Andrey Repin Saturday, March 4, 2023 20:14:54 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FA

Re: Nano fails to open file "~/.bashrc".

2023-03-04 Thread Andrey Repin via Cygwin
essary/conflicting directories from $PATH. Something along the lines of PATH="$(tr ":" "\\n" <<<"$PATH" | grep -v /Windows/ | tr "\\n" ":")" export PATH -- With best regards, Andrey Repin Saturday, March 4, 2023 16:14:34 Sorr

Re: Nano fails to open file "~/.bashrc".

2023-03-03 Thread Andrey Repin via Cygwin
Greetings, Kirill Frolov! Please avoid top-posting in this list. > On 03.03.2023 15:47, Andrey Repin wrote: >> Greetings, Kirill Frolov! >> >>> When i run nano ~/.bashrc nano opens with   [ Directory '/home/frolo' does >>> not exist ] error. >>

Re: Nano fails to open file "~/.bashrc".

2023-03-03 Thread Andrey Repin via Cygwin
;$USER"; mount; cat /etc/nsswitch.conf -- With best regards, Andrey Repin Friday, March 3, 2023 15:45:34 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.htm

Re: Changing the python sqlite3 version to the latest

2023-02-15 Thread Andrey Repin via Cygwin
Greetings, Jose Isaias Cabrera! > On Wednesday, February 15, 2023 10:55 AM, Andrey Repin  expressed: >> > -- untared the snapshot >> > $ tar xvf sqlite-snapshot-202302131932.tar.gz >> >> > -- cd to the untared directory >> > $ cd sqlite-snapshot-2023

Re: [ANNOUNCEMENT] Updated: dash 0.5.12-2

2023-02-15 Thread Andrey Repin via Cygwin
quot;; echo "${_x#${_x%%[![:space:]]*}}"' > x :thumbsup: -- With best regards, Andrey Repin Wednesday, February 15, 2023 18:56:29 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Docume

  1   2   3   4   5   6   7   8   9   10   >