RE: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Nellis, Kenneth
> From: Eric Blake > On 07/20/2011 12:05 PM, Reid Thompson wrote: > > Is this broken? Or a known windows/cygwin discrepancy? Or am I > missing > > something with my posix/windows file permissions settings > > If you are running as an administrator, that might explain it. Admins > can alter any

Re: [bash or DLL] Memory leak in childs

2011-07-21 Thread AZ 9901
Hello, Thank you very much for your feedback ! I come back to the first point, memory leak when bash forks (seen in example loops). Following your advice and BLODA documentation, I made tests in a fresh / newly installed virtual environment (Windows XP / VirtualBox). I did not notice any problem

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Corinna Vinschen
On Jul 21 07:43, Nellis, Kenneth wrote: > > From: Eric Blake > > On 07/20/2011 12:05 PM, Reid Thompson wrote: > > > Is this broken? Or a known windows/cygwin discrepancy? Or am I > > missing > > > something with my posix/windows file permissions settings > > > > If you are running as an administ

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Corinna Vinschen
On Jul 20 17:37, Yaakov (Cygwin/X) wrote: > On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: > > On Jul 20 03:11, Yaakov (Cygwin/X) wrote: > > > On Linux, ioctl(2) returns several different errors[1]: > > > > > > EBADF d is not a valid descriptor. > > > EFAULT argp references an inacces

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Christopher Faylor
On Thu, Jul 21, 2011 at 04:39:31PM +0200, Corinna Vinschen wrote: >On Jul 20 17:37, Yaakov (Cygwin/X) wrote: >> On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: >> > On Jul 20 03:11, Yaakov (Cygwin/X) wrote: >> > > On Linux, ioctl(2) returns several different errors[1]: >> > > >> > > EBA

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Corinna Vinschen
On Jul 21 13:05, Christopher Faylor wrote: > On Thu, Jul 21, 2011 at 04:39:31PM +0200, Corinna Vinschen wrote: > >On Jul 20 17:37, Yaakov (Cygwin/X) wrote: > >> On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: > >> > On Jul 20 03:11, Yaakov (Cygwin/X) wrote: > >> > > On Linux, ioctl(2) re

Re: [bash or DLL] Memory leak in childs

2011-07-21 Thread Larry Hall (Cygwin)
On 7/21/2011 9:12 AM, AZ 9901 wrote: Following your advice and BLODA documentation, I made tests in a fresh / newly installed virtual environment (Windows XP / VirtualBox). I did not notice any problem at all. So I decided to run tests booting my suffering environment in safe mode (F8 at boot

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Larry Hall (Cygwin)
On 7/21/2011 9:31 AM, Corinna Vinschen wrote: On Jul 21 07:43, Nellis, Kenneth wrote: From: Eric Blake On 07/20/2011 12:05 PM, Reid Thompson wrote: Is this broken? Or a known windows/cygwin discrepancy? Or am I missing something with my posix/windows file permissions settings If you are r

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Corinna Vinschen
On Jul 21 14:51, Larry Hall (Cygwin) wrote: > On 7/21/2011 9:31 AM, Corinna Vinschen wrote: > >On Jul 21 07:43, Nellis, Kenneth wrote: > >>>From: Eric Blake > >>>On 07/20/2011 12:05 PM, Reid Thompson wrote: > Is this broken? Or a known windows/cygwin discrepancy? Or am I > >>>missing > so

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Christopher Faylor
On Thu, Jul 21, 2011 at 07:47:17PM +0200, Corinna Vinschen wrote: >On Jul 21 13:05, Christopher Faylor wrote: >> On Thu, Jul 21, 2011 at 04:39:31PM +0200, Corinna Vinschen wrote: >> >On Jul 20 17:37, Yaakov (Cygwin/X) wrote: >> >> On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: >> >> > O

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Christopher Faylor
On Thu, Jul 21, 2011 at 03:57:46PM -0400, Christopher Faylor wrote: >On Thu, Jul 21, 2011 at 07:47:17PM +0200, Corinna Vinschen wrote: >>On Jul 21 13:05, Christopher Faylor wrote: >>> On Thu, Jul 21, 2011 at 04:39:31PM +0200, Corinna Vinschen wrote: >>> >On Jul 20 17:37, Yaakov (Cygwin/X) wrote: >>

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Larry Hall (Cygwin)
On 7/21/2011 3:01 PM, Corinna Vinschen wrote: On Jul 21 14:51, Larry Hall (Cygwin) wrote: On 7/21/2011 9:31 AM, Corinna Vinschen wrote: On Jul 21 07:43, Nellis, Kenneth wrote: From: Eric Blake On 07/20/2011 12:05 PM, Reid Thompson wrote: Is this broken? Or a known windows/cygwin discrepancy?

RE: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Nellis, Kenneth
> From: Corinna Vinschen > On Jul 21 07:43, Nellis, Kenneth wrote: > > FWIW, I'm not running as administrator and I'm running 1.7.9, and I'm > > seeing the same thing: > What system? XP, Vista? 7? > What's the output of `id'? $ /usr/lib/csih/winProductName Microsoft Windows XP Professional Servi

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Larry Hall (Cygwin)
On 7/21/2011 5:13 PM, Nellis, Kenneth wrote: From: Corinna Vinschen On Jul 21 07:43, Nellis, Kenneth wrote: FWIW, I'm not running as administrator and I'm running 1.7.9, and I'm seeing the same thing: What system? XP, Vista? 7? What's the output of `id'? $ /usr/lib/csih/winProductName Micro

Is DBUS 1.4.x available for Cygwin?

2011-07-21 Thread nyc4bos
Hi, Is there a version of DBUS 1.4.10 (or 1.4.12) available for Cygwin anywhere? Thanks. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsu

SIGHUP on pty closure

2011-07-21 Thread Marco atzeri
looking on the mc subshell issue, I found that mc suppose that the subshell will receive a SIGHUP when mc exit and close the master side of pty. Is such assumption wrong or it is a missing piece of cygwin pty implementation ? - extract from subshell.c -- /* Attach a

Re: Is DBUS 1.4.x available for Cygwin?

2011-07-21 Thread Larry Hall (Cygwin)
On 7/21/2011 5:38 PM, nyc4...@aol.com wrote: Hi, Is there a version of DBUS 1.4.10 (or 1.4.12) available for Cygwin anywhere? Not from cygwin.com, no: Cygwin Ports gets you as close as 1.4.8. -- Larry

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Andrew DeFaria
On 7/21/2011 2:37 PM, Larry Hall (Cygwin) wrote: On 7/21/2011 5:13 PM, Nellis, Kenneth wrote: From: Corinna Vinschen On Jul 21 07:43, Nellis, Kenneth wrote: FWIW, I'm not running as administrator and I'm running 1.7.9, and I'm seeing the same thing: What system? XP, Vista? 7? What's the outp

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Larry Hall (Cygwin)
On 7/21/2011 9:07 PM, Andrew DeFaria wrote: I'm seeing the exact same behavior. I see this on my C drive (I cd'ed to /tmp). The drive is: Weird. So what are you using? XP and Cygwin 1.7.9 or something else? -- Larry _ A:

I'm confused, ... domain vs. local account mappings (why diffs, how to control mappings?)

2011-07-21 Thread Linda Walsh
For various reasons (config changes, upgrading to newer version of samba, phase of the moon, dumb-luck/random chance, after a latest round of samba-setup config auditing (amongst other things), I'm no longer getting "device attached to sys not functioning" (originally reported http://cygwin.c

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Andrew DeFaria
On 07/21/11 19:50, Larry Hall (Cygwin) wrote: On 7/21/2011 9:07 PM, Andrew DeFaria wrote: I'm seeing the exact same behavior. I see this on my C drive (I cd'ed to /tmp). The drive is: Weird. So what are you using? XP and Cygwin 1.7.9 or something else? Yes. At work XP and 1.7.9. Here at ho

Re: Is DBUS 1.4.x available for Cygwin?

2011-07-21 Thread Yaakov (Cygwin/X)
On Thu, 2011-07-21 at 17:54 -0400, Larry Hall (Cygwin) wrote: > On 7/21/2011 5:38 PM, nyc4bos wrote: > > Is there a version of DBUS 1.4.10 (or 1.4.12) available > > for Cygwin anywhere? > > Not from cygwin.com, no: > > > > Cygwin Ports gets

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Corinna Vinschen
On Jul 21 16:13, Nellis, Kenneth wrote: > > From: Corinna Vinschen > > On Jul 21 07:43, Nellis, Kenneth wrote: > > > FWIW, I'm not running as administrator and I'm running 1.7.9, and I'm > > > seeing the same thing: > > What system? XP, Vista? 7? > > What's the output of `id'? > > $ /usr/lib/csi

Re: [ -w filename ] returns true when permissions are -r--r--r--

2011-07-21 Thread Corinna Vinschen
On Jul 21 22:25, Andrew DeFaria wrote: > On 07/21/11 19:50, Larry Hall (Cygwin) wrote: > >On 7/21/2011 9:07 PM, Andrew DeFaria wrote: > >>I'm seeing the exact same behavior. I see this on my C drive (I > >>cd'ed to /tmp). The drive is: > > > >Weird. So what are you using? XP and Cygwin 1.7.9 or s