Thread: 7.2b3 postmaster doesn't start on Win98

7.2b3 postmaster doesn't start on Win98

From
"Henshall, Stuart - WCP"
Date:
When trying to start the postmaster on win98se with cygwin
I get told that the data directory must be 0700, but when I try to chmod to
700, it apparently succeds, but nothing permissions stay at 755. I suspect
this to be because win98 has no real file protection (just a read only
attribute)
(uname -a:
CYGWIN_98-4.10 BX3551 1.3.5(0.47/3/2) 2001-11-13 23:16 i686 unknown)
- Stuart

Re: 7.2b3 postmaster doesn't start on Win98

From
Jason Tishler
Date:
Stuart,

On Fri, Nov 30, 2001 at 07:12:38PM -0000, Henshall, Stuart - WCP wrote:
> When trying to start the postmaster on win98se with cygwin
> I get told that the data directory must be 0700, but when I try to chmod to
> 700, it apparently succeds, but nothing permissions stay at 755. I suspect
> this to be because win98 has no real file protection (just a read only
> attribute)

Is this a new behavior with 7.2?  If so, then the PostgreSQL code may
need to be changed to defeat these kinds of security checks on Windows
9x/Me.  Sorry, but I don't have the 9x/Me kind of itch...

Jason

Re: 7.2b3 postmaster doesn't start on Win98

From
"Henshall, Stuart - WCP"
Date:
There was a little discussion on hackers and it looks like the permissions
check is going to be #ifndef __CYGWIN__.
- Stuart

-----Original Message-----
From: Jason Tishler [mailto:jason@tishler.net]
Sent: 06 December 2001 17:59
To: Henshall, Stuart - WCP
Cc: 'pgsql-cygwin@postgresql.org'
Subject: Re: [CYGWIN] 7.2b3 postmaster doesn't start on Win98


Stuart,

On Fri, Nov 30, 2001 at 07:12:38PM -0000, Henshall, Stuart - WCP wrote:
> When trying to start the postmaster on win98se with cygwin
> I get told that the data directory must be 0700, but when I try to chmod
to
> 700, it apparently succeds, but nothing permissions stay at 755. I suspect
> this to be because win98 has no real file protection (just a read only
> attribute)

Is this a new behavior with 7.2?  If so, then the PostgreSQL code may
need to be changed to defeat these kinds of security checks on Windows
9x/Me.  Sorry, but I don't have the 9x/Me kind of itch...

Jason

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly