Skip site navigation (1) Skip section navigation (2)

Re: Problems with permissions after CYGWIN upgrade

From: Jason Tishler <jason(at)tishler(dot)net>
To: David R Robison <drrobison(at)openroadsconsulting(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Problems with permissions after CYGWIN upgrade
Date: 2003-03-19 21:15:10
Message-ID: 20030319211510.GB1116@tishler.net (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-cygwin by date

Next:From: Todd HolthausDate: 2003-03-19 21:46:45
Subject: Problem with initdb command
Previous:From: David R RobisonDate: 2003-03-19 17:56:32
Subject: Re: Problems with permissions after CYGWIN upgrade

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group