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

2024-12-29 Thread Ilya Basin via Cygwin
Thanks Christian. exec 4> /proc/sys/DosDevices/E: works. Original Message From: Christian Franke via Cygwin Sent: Thursday, October 24, 2024 at 9:50 PM UTC+4 To: cygwin@cygwin.com Cc: Christian Franke Subject: RE: Writing to '\\.\X:' that has no backing Physica

RE: R: "setup-x86_64.exe" blocked by Proxy/Firewall to 3MB packages

2024-12-04 Thread Ilya Basin via Cygwin
6:50 AM UTC+4 To: 'Ilya Basin' , Subject: R: "setup-x86_64.exe" blocked by Proxy/Firewall to 3MB packages Hello. Thanks for replying 😊 I really don't how the Company set up the Proxy System... i think it's the Company AV (i see the Antivirus CA not the re

RE: "setup-x86_64.exe" blocked by Proxy/Firewall to 3MB packages

2024-12-04 Thread Ilya Basin via Cygwin
Hi Mark Is this a kind of a spying firewall that watches HTTPS traffic? If not, then maybe you can switch to one of the HTTPS repositories. What's your current repo URL? When you open an HTTPS site in your web browser do you see a legit CA in the site security information or do you see the Antiv

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

2024-09-13 Thread Ilya Basin via Cygwin
Hi. I was trying to write an .img file to a VeraCrypt drive. VeraCrypt doesn't create a virtual PhysicalDrive so tools like Rufus don't see it. I hoped that with cygwin I would be able to do that, but Cygwin only creates /dev/sd?? nodes for PhysicalDrive partitions. I tried `dd` with '\\.\X:', bu

remount a subfolder on /cygdrive/c with notexec

2024-09-07 Thread ilya Basin via Cygwin
Hi. I want to speed-up access to Google Drive from Cygwin and I want to disable ReadFile when files are statted. I did the following: mkdir /cygnotexec mount -obind,notexec "/cygdrive/c/ClusterStorage/gdrive/blahb...@gmail.com" "/cygnotexec/basini...@gmail.com" mount -obind,notexec "/cygdrive/c

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

2024-07-19 Thread ilya Basin via Cygwin
Hi. For several years I had this in my /etc/fstab.d/$USER C: /cygdrive/c none binary,noacl,posix=0,user 0 0 I switched from Cygwin x86 to x64 recently and I noticed that even if `mount` prints this: $ mount | grep C: C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin6

SIGALRM is not interrupting a blocking write to a pipe

2024-05-06 Thread ilya Basin via Cygwin
Hi List! I need your help with troubleshooting an issue with "pv": https://codeberg.org/a-j-wood/pv/issues/87 This app uses SIGALRM to interrupt a blocking write to STDOUT and read more data into the buffer. On Linuxes write() returns 0 after the signal, but on Cygwin even though the signal ha

windows netsh/route output translated to English in mintty

2022-04-07 Thread Ilya Basin
Hi. One of my PCs still has Windows 7 and I noticed that when I run netsh interface ipv4 show route or route print In Mintty, the output is translated to English and when I run these commands from Cygwin started in a Windows console the output is in the same language as the OS. Does Cygwin do t

Re: Snapshot of Cygwin from Windows XP era

2021-10-23 Thread Ilya Basin via Cygwin
No guarantee, but try these (from ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 ) https://drive.google.com/file/d/106n5y7W7pAPY44qT1V5dh1jTBpA6Th1w/view?usp=sharing setup program: https://drive.google.com/file/d/1BEY17yS9cfvWvnkJtuLuIQo85emi02Bl/view?usp=sharing I have no Idea why I

socat UDP-LISTEN,fork misbehaves

2021-10-23 Thread Ilya Basin via Cygwin
Hi List. I have socat 1.7.4.1-1 and the same version on Linux. When I try to create a forking UDP server, only the first client is served, unlike in Linux where subsequent clients are served properly. Test case. Terminal 1: socat -v UDP-LISTEN:12345,reuseaddr,fork SYSTEM:"stdbuf -i0 -o0 -e0

Re: xinetd: PID 2280: Service tftp missing attribute user - DISABLING

2021-10-01 Thread ilya Basin via Cygwin
e user is created by csih_create_unprivileged_user() with the command: net user "${unpriv_user}" \ /homedir:"${dos_var_empty}" \ /comment:'' \ /add /active:no On 01.10.2021 10:21, ilya Basin wrote: >

xinetd: PID 2280: Service tftp missing attribute user - DISABLING

2021-10-01 Thread ilya Basin via Cygwin
Hi. I installed xinetd and tftp-server recently, ran xinetd-config and tftpd-config, and enabled /etc/xinetd.d/tftp. However, I was getting the following error in Windows Event log: xinetd: PID 2280: Service tftp missing attribute user - DISABLING Workaround: # The xinetd user name must

Re: requestedExecutionLevel "asInvoker" is ignored for setup-x86_64.exe

2021-08-31 Thread Ilya Basin via Cygwin
Never mind. Just found in the FAQ that the installer tries to spawn an elevated child instead of using the manifest. So in "setup-x86_64.exe -B" the "-B" switch does the trick. On 31.08.2021 18:38, ilya Basin wrote: > Hi. > I noticed that despite having: > >

requestedExecutionLevel "asInvoker" is ignored for setup-x86_64.exe

2021-08-31 Thread ilya Basin via Cygwin
Hi. I noticed that despite having: in setup-x86_64.exe the UAC prompt is not bypassed and when I click Cancel the program is not started. Previously I used the same binary to install Cygwin for "Just me" on a host where regular users are simply not allowed to trigger a UAC prompt. I have

Re: no regular expressions in less

2021-07-21 Thread Ilya Basin via Cygwin
Yes, 32bit. On 21.07.2021 21:18, Takashi Yano wrote: > On Wed, 21 Jul 2021 20:43:54 +0300 > Basin Ilya via Cygwin wrote: >> Hi list. >> I've just noticed that regexp search works identically to exact match search >> in less and it prints this: >> >> $ /usr/bin/less --version >> less 581.

Re: sshd.exe waits repeatedly with SYN_SENT for inaccessible ldap

2021-01-26 Thread Ilya Basin via Cygwin
The problem is solved. Our DHCP server was sending me a bad WINS server ip. After fixing the issue I had to reboot the PC (just refreshing the ip and restarting cygsshd was not enough). On 22.01.2021 22:07, basini...@gmail.com wrote: > Hi. The problem first appeared ten days ago. It now takes mi

sshd.exe waits repeatedly with SYN_SENT for inaccessible ldap

2021-01-22 Thread Ilya Basin via Cygwin
Hi. The problem first appeared ten days ago. It now takes minutes to login as a domain user. Tcpview shows that sshd.exe is trying to connect an inaccessible server on the port 389 (ldap). If I close the socket using Tcpview, successful login happens sooner. Both password and public key logins a

Re: blockdev.exe is missing in util-linux. How to determine block device size in bash?

2020-12-05 Thread Ilya Basin via Cygwin
Strange. On Win7 this doesn't work: il@mar2 /cygdrive/c/Windows/System32 $ cat /proc/partitions major minor #blocks name win-mounts 8 0 0 sda 816 0 sdb il@mar2 /cygdrive/c/Windows/System32 $ dd of=/dev/null if=/dev/sda bs=1M

surrounding double quotes not removed from native command line arguments when they contain unicode and locale is default

2020-11-12 Thread Ilya Basin via Cygwin
Hi. When I launch a Cygwin program from a native Windows program and an argument in the command line string is quoted and contains national characters then the Cygwin program behaves as if double quotes were part of the program argument. This happens if I don't explicitly set LC_ALL or if I set L

Re: Something makes curl hang for 5 minutes after connection refused

2020-11-12 Thread Ilya Basin via Cygwin
This looks fixed now. Thanks. On 15.09.2019 10:07, Basin Ilya wrote: > Hi. > Any update on this? > > 01.12.2018 12:51, Corinna Vinschen пишет: >> On Nov 30 20:42, Brian Inglis wrote: >>> On 2018-11-30 12:49, Lee wrote: On 11/30/18, Basin Ilya wrote: > Hi. > > Recently I noticed t

Prevent Ctrl-C kill native process

2015-03-20 Thread Ilya Basin
How to tell Cygwin not to kill a native process when I press Ctrl-C ? I tried to run it in background, but it doesn't help, when its output is piped. Compare these: ( while true; do echo aaa; sleep 1; done & ) | ( trap '' INT; cat ) ( while true; do echo aaa; sleep 1; done ) | ( trap '' INT; cat )

local admin `chmod 400` still can write

2014-07-30 Thread Ilya Basin
Hi. From cygwin shell I'm able to read and write files even though my Windows user has no permission for it. I tried `chmod` and to deny everything for Everyone in the Windows dialog, but it didn't help. How is it possible? $ id uid=48466(basin) gid=545(Users) groups=545(Users),0(root),5

'ssh -1 -L < named_pipe' freezes

2013-04-09 Thread Ilya Basin
Here's my script that works on linux: cmd="ssh -T -N -g -1 -L 10001:anotherhost:22" fifo=`mktemp -u` mkfifo "$fifo" $cmd <"$fifo" & exec 3>"$fifo" # message: Pseudo-terminal will not be allocated because stdin is not a terminal. # netstat shows that port 10001 is LISTE

setup.exe wrong percentage

2013-04-05 Thread Ilya Basin
Hello. In "download only" mode setup.exe 2.774 shows wrong percentage. see: http://i51.fastpic.ru/big/2013/0405/4b/605ee14742b48fb58e153a5952bf084b.png -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/

du crashes if .lnk symlink and a folder it points to are named the same, differing only in letter case

2012-03-25 Thread Ilya Basin
I needed that because one git repository has branches named "Epam/a" and "epam/b", and git was always creating the "missing" epam directory at fetch. $ ls -l total 0 drwxr-xr-x+ 1 adminpwd None 0 Mar 25 11:42 Epam drwxr-xr-x+ 1 adminpwd None 0 Mar 25 11:42 epam why no " -> Epam" part? 'ls' behave

Re: env var or mount option for multibyte<->unicode filenames conversion

2011-08-21 Thread Ilya Basin
Corinna Vinschen cygwin.com> writes: > > On Aug 18 14:19, Ilya Basin wrote: > > Hi. Currently, the code page for internal convertion of file names to > > unicode depends on programs's locale. > > I want to keep UTF-8 as current locale, but use CP1251 for thi

env var or mount option for multibyte<->unicode filenames conversion

2011-08-18 Thread Ilya Basin
Hi. Currently, the code page for internal convertion of file names to unicode depends on programs's locale. I want to keep UTF-8 as current locale, but use CP1251 for this conversion. Is it possible? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.c

Fwd: /usr/bin not automounted sometimes

2011-02-16 Thread Ilya Basin
It's happening again (( ===8<==Original message text=== Hi list! Sometimes, when I start cygwin.bat, it prints me: -bash: /usr/bin/tr: No such file or directory -bash: /usr/bin/sed: No such file or directory $ and mount shows that /usr/bin and /usr/lib not mounted. But if I

/usr/bin not automounted sometimes

2011-01-28 Thread Ilya Basin
Hi list! Sometimes, when I start cygwin.bat, it prints me: -bash: /usr/bin/tr: No such file or directory -bash: /usr/bin/sed: No such file or directory $ and mount shows that /usr/bin and /usr/lib not mounted. But if I run cygwin.bat as another windows user (e.g. by runas), it logins normally. Of c

can't make setup.exe --untrusted-keys to work

2010-09-13 Thread Ilya Basin
I have a custom public key for my repo. This works: setup.exe --keep-untrusted-keys -K basinilya.pub Then I can see that something was added to the end of /etc/setup.rc extrakeys (public-key (dsa (p #00E03CE0...41FD#) ) ) Next time I invoke setup.exe like this: setup.exe --untruste

Re[4]: Question marks in localized man pages

2010-09-11 Thread Ilya Basin
AK> On 11 September 2010 18:48, Ilya Basin wrote: >> AK> On Saturday, September 11, 2010, Ilya Basin wrote: >>>> Hi. My default LANG is C.UTF-8. If I change it to ru.UTF-8, all >>>> non-ascii characters in man pages are displayed as question marks. >> &g

Re[2]: Question marks in localized man pages

2010-09-11 Thread Ilya Basin
AK> On Saturday, September 11, 2010, Ilya Basin wrote: >> Hi. My default LANG is C.UTF-8. If I change it to ru.UTF-8, all >> non-ascii characters in man pages are displayed as question marks. AK> ru.UTF-8 isn't a valid locale setting; you need a territory in there AK>

Question marks in localized man pages

2010-09-11 Thread Ilya Basin
Hi. My default LANG is C.UTF-8. If I change it to ru.UTF-8, all non-ascii characters in man pages are displayed as question marks. I found that on Linux before going to nroff, the unzipped man page is first piped through /usr/bin/preconv that escapes non-ascii chars: vim \- Vi IMproved (\[u0423]