Re: Problems with permissions after CYGWIN upgrade - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Problems with permissions after CYGWIN upgrade
Date
Msg-id 20030319211510.GB1116@tishler.net
Whole thread Raw
In response to Re: Problems with permissions after CYGWIN upgrade  ("David R Robison" <drrobison@openroadsconsulting.com>)
Responses Re: Problems with permissions after CYGWIN upgrade  (Jason Tishler <jason@tishler.net>)
List pgsql-cygwin
David,

On Wed, Mar 19, 2003 at 12:56:32PM -0500, David R Robison wrote:
> Any ideas?

Yes, recent Cygwin versions (sometime after 1.3.18) has a chmod() bug:

    http://cygwin.com/ml/cygwin/2003-03/msg01344.html

What Cygwin version are you using?

> If I change the permissions on the files to 777 then it works fine.

AFAICT, chmod() on sockets has no affect:

    $ ls -l /tmp/.afunix
    srwx------    1 jt       Domain U        0 Mar 19 15:57 /tmp/.afunix
    $ chmod 0777 .afunix
    $ ls -l /tmp/.afunix
    srwx------    1 jt       Domain U        0 Mar 19 15:57 /tmp/.afunix

How did you get chmod to work?

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

pgsql-cygwin by date:

Previous
From: "David R Robison"
Date:
Subject: Re: Problems with permissions after CYGWIN upgrade
Next
From: Jason Tishler
Date:
Subject: Re: Problems with permissions after CYGWIN upgrade