Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98 - Mailing list pgsql-hackers

From Horák Daniel
Subject Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98
Date
Msg-id D5637E9568BDF3499B8BB02C12B4461DD47F@EXCHANGE.mmp.plzen-city.cz
Whole thread Raw
In response to FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98  ("Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>)
Responses Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
>     I threw this to cygwin but it doesn't seem to have elisited any
> interest over the weekend so I'm sending it here as a beta 
> problem (not
> entirely sure if this is correct or if it should go to bugs).

> 
> 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

It works on WinNT, Win2K, ... because full file security is implemented
only in this systems. There could be a dirty hack that disables the
check (for 0700 permissions on $DATADIR) in
src/backend/postmaster/postmaster.c. I don't  know if it is possible to
do it during runtime for only Win9x systems.

        Dan


pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: Second call for platform testing
Next
From: Christof Petig
Date:
Subject: TODO