Cygwin setup change directory permissions

2015-09-07 Thread Max Polk
Cygwin setup keeps showing error about package unknown in file inetutils-server.sh, so ran it manually and saw the actual problem: $ cd /etc/postinstall $ ./inetutils-server.sh *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x..x..[xt]

OpenSSH client defaults

2015-08-16 Thread Max Polk
On a new 64-bit Cygwin install, no /etc/ssh* files or dirs exist, I copied over id_dsa and id_dsa.pub into my ~/.ssh, nothing else, and got the directory and file permissions right. Kept running into this failure connecting: debug1: Skipping ssh-dss key /MYPATH/.ssh/id_dsa for not in PubkeyAccepte

emacs oddity

2014-05-20 Thread Max Polk
I've been noticing the background timer giving odd messages from emacs-w32 once in a while such as the following when not touching the keyboard and the editor is idle.: seconds-to-time: Arithmetic range error: "round", -0.0e+NaN seconds-to-time: Arithmetic range error: "round", 0.0 The stack d

Re: emacs-w32, version 24.3.1, crashes constantly

2014-05-01 Thread Max Polk
On Thu, 1 May 2014 08:11:21 -0700 (PDT) Zdzislaw Meglicki wrote: > Emacs-w32, version 24.3.1, has been crashing constantly, > so much so I learnt how to use "recover-session." Most > recently I finally forced myself to run gdb on its sadly > expired body and listed the following stack: > (gdb) bt

Re: 1.7.28: Ctrl-C not working reliably

2014-04-06 Thread Max Polk
On 4/5/2014 4:43 PM, Larry Hall (Cygwin) wrote: On 4/4/2014 3:35 PM, Ivan Todoroski wrote: 2) Type: ssh blargh # or any non-existent host 3) Press Ctrl-C immediately after that On my machine, the Ctrl-C doesn't stop SSH from trying to look up the non-existent host, it keeps going until it give

Re: 1.7.28: Ctrl-C not working reliably

2014-04-05 Thread Max Polk
On 4/4/2014 3:35 PM, Ivan Todoroski wrote: On my machine, the Ctrl-C doesn't stop SSH from trying to ... I believe console applications may require I/O to/from stdin/stdout/stderr for Control-C (or even Control-S / Control-Q for flow control) to be noticed. In that period of time when there

Re: Patch for run-1.3.0-1 core dump

2014-03-20 Thread Max Polk
On 3/20/2014 8:57 AM, Patrick Herbst wrote: On 2/18/2014 4:16 AM, Corinna Vinschen wrote: Did my earlier patch get included? I haven't seen a "run" new version yet. http://www.cygwin.com/ml/cygwin/2013-12/msg6.html My patch was the one that properly quote arguments. Maybe let's start with

Re: Executing a perl script from Windows 7

2014-03-09 Thread Max Polk
On 3/9/2014 2:08 PM, Peter Holsberg wrote: I have a perl script that I would like to execute simply by double-clicking on its name from a Windows filemanager window. (That is, I do not want to use the command line at all, nor do I want to use an icon.) Eg, myscript.pl I tried using this #!C

Re: Help with shortcuts

2014-03-01 Thread Max Polk
On 2/28/2014 9:09 AM, mrushton wrote: Can some on give me a help with creating a shortcut to a shell script under Windows 7 ? I am doing something like this in the windows shorcut : C:\CygwinSoftware\bin\mintty.exe -i /Cygwin-Terminal.ico --exec /cygdrive/x/INBOUND/CWSCRIPTS/mymenu.sh Well

Re: Patch for run-1.3.0-1 core dump

2014-02-19 Thread Max Polk
On 2/18/2014 4:16 AM, Corinna Vinschen wrote: On Feb 17 17:25, Jon TURNEY wrote: ... I went to all the trouble of investigating this, discovering that run2_freeargv() is double-freeing the last element in newargv because the NULL terminator isn't moved when the arguments are shifted down over ne

File associations in Windows [was: Re: Invoking Cygwin vim from Windows Explorer]

2014-02-09 Thread Max Polk
On 2/9/2014 12:11 PM, carolus wrote: > Is there some configuration that will let me open a text file > in Cygwin vim by clicking on the file in an Explorer window? I wonder if anyone else needs Windows file associations for sequences of Cygwin commands as well. If this is useful to many, maybe

Re: How big are your /etc/passwd and /etc/group files?

2014-01-31 Thread Max Polk
On 1/31/2014 5:03 PM, Corinna Vinschen wrote: On Jan 31 22:40, Frank Fesevur wrote: 2014-01-31 Corinna Vinschen: Is anybody here who's using /etc/passwd and/or group files of more than 16K in size? The new way to store the stuff would make Cygwin definitely faster, but it would struggle

Re: Windows 8 group won't respect /etc/passwd or /etc/group

2014-01-10 Thread Max Polk
On 1/10/2014 7:57 AM, John Smith wrote: the None user group won't allow me to change group permissions. When rsyncing with a remote server, I mirror permissions from that server Wanting to change file permissions with rsync (or any other command) to something you don't have the right to do is

Re: chmod Not Working

2013-12-30 Thread Max Polk
On 12/30/2013 2:23 PM, Nellis, Kenneth wrote: From: bartels On 12/30/2013 06:16 AM, Nithin Kurien wrote: When I type the following sequence of commands: cd ~; mkdir sample; chmod -R 0700 sample; stat -c "%a %u %g" sample; rm -rf sample; mkdir sample; chmod -R 0755 sample; stat -c "%a %u %g" sa

sh.exe appcompatflags elevated privileges

2013-12-27 Thread Max Polk
On a fresh 32-bit cygwin install onto a 64-bit windows 7 machine, somehow sh.exe became a child node inside these two areas (or subtree areas) in the registry: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Curren

Re: C:\Windows\System32\drivers oddness

2013-12-26 Thread Max Polk
On 12/26/2013 1:32 PM, Corinna Vinschen wrote: On Dec 26 11:11, Max Polk wrote: From the bash shell, sitting in the C:\Windows\System32\drivers directory, when I run "ls" I can see about 6 files/dirs total. The "etc" directory is mysteriously missing from the output of &quo

C:\Windows\System32\drivers oddness

2013-12-26 Thread Max Polk
From the bash shell, sitting in the C:\Windows\System32\drivers directory, when I run "ls" I can see about 6 files/dirs total. The "etc" directory is mysteriously missing from the output of "ls", but present in the output of "ld -ld etc". Strange that I can't list it with "ls", but I can list

Re: cannot execute binary file

2013-12-16 Thread Max Polk
On 12/16/2013 5:55 PM, Gerry Reno wrote: /usr/bin/ls: /usr/bin/ls: cannot execute binary file /bin/bash: Exit 126 This is the error that greets me when I try to execute a command in cygwin from a Windows Command Prompt like so: C:\cygwin\bin\mintty.exe -h always /bin/bash -l ls

Re: emacs won't run

2013-12-06 Thread Max Polk
On 12/6/2013 8:38 AM, Andrea Venturoli wrote: In the end I got a trace file (which is over 7MB!), but it's nothing I Try from mintty window running emacs without X and without start files: emacs -nw -Q See if other X apps run: xterm There should be no errors running the above. -- Prob

Moderated list?

2013-11-30 Thread Max Polk
Is the cygwin mail list moderated? I tried 4 times sending the same thing after *initially* getting rejected for a policy violation then trying to do the global allowed senders tip and other body content changes and getting no responses nor anything showing up in the archive web site. Sorry i

[patch] cygwin-apps/run 1.0.3

2013-11-30 Thread Max Polk
Follow-up to run 1.0.3 crashing and leaving run.exe.stackdump, first reported at http://cygwin.com/ml/cygwin/2013-08/msg00169.html The list wouldn't let me send a patch because it had an email address in the Changelog, so I had to put it here: http://pastebin.com/4SSPDGQh The first fix is much l

Some useful permission setting scripts

2003-06-10 Thread Max Polk
ictly by bozo. WARNING: See warning above about not letting Administrator in. You've been warned! NOTE: Replace bozo with your user name. #! /bin/sh for file in "$@"; do echo "$file" chmod -R 700 "$file&qu