On Wed, Feb 14, 2007 at 01:49:43PM +0100, Filippo Toso wrote:
> Dear Magnus,
>
> > > The pgsql directory privileges are set to Everyone (Full Control).
> >
> > Hmm. Bummer. I really thought that was it. Can you check the full
> > directory tree up to the root directory as well, to see if there's
> > someplace else there where the user couldn't get in withotu admin/pu?
>
> The directory structure is the following:
>
> C:\pgsql\bin\initdb.exe
> C:\pgsql\bin\postgres.exe
>
> I have logged out and re-logged in as an user of Users group. As this user I
> can create/edit/delete all the files and directories in all the folders and
> subfolders of C:\pgsql\, I can start C:\pgsql\bin\initdb.exe and it works
> perfectly. If I try to do the same as Administrator, it fails.
This sounds a lot like the user is getting the permissions through
Administrators or Power Users. Note that Administrators !=
Administrator. If permissions are set with the group only, you will get
the error.
//Magnus