pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7843: Incorrect using icacls
2+ messages / 2 participants
[nested] [flat]
* BUG #7843: Incorrect using icacls
@ 2013-02-01 11:03 QuiverNAY@gmail.com
0 siblings, 1 reply; 2+ messages in thread
From: QuiverNAY@gmail.com @ 2013-02-01 11:03 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 7843
Logged by: Andrey
Email address: QuiverNAY@gmail.com
PostgreSQL version: 9.2.2
Operating system: Windows 7 x64
Description:
When i try to install postgresql-9.2.2-1-windows-x64.exe, it ask aboute DB
files path.
I have chosen d:\Server\DB\
then installer runs but file:
"
@ECHO OFF
icacls D:\ /grant "NT AUTHORITY\NetworkService":(NP)(RX) >
"C:\Temp\rad9B244.tmp" 2>&1
EXIT /B %ERRORLEVEL%
"
It is incorrect. I believe that cacls should be run only on specified path
(d:\Server\DB\).
Besides this path have full access for Everyone and Administrators.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #7843: Incorrect using icacls
@ 2013-02-01 14:53 Dave Page <dpage@pgadmin.org>
parent: QuiverNAY@gmail.com
0 siblings, 0 replies; 2+ messages in thread
From: Dave Page @ 2013-02-01 14:53 UTC (permalink / raw)
To: QuiverNAY@gmail.com <QuiverNAY@gmail.com>; +Cc: pgsql-bugs
On Friday, February 1, 2013, wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7843
> Logged by: Andrey
> Email address: QuiverNAY@gmail.com <javascript:;>
> PostgreSQL version: 9.2.2
> Operating system: Windows 7 x64
> Description:
>
> When i try to install postgresql-9.2.2-1-windows-x64.exe, it ask aboute DB
> files path.
> I have chosen d:\Server\DB\
> then installer runs but file:
> "
> @ECHO OFF
> icacls D:\ /grant "NT AUTHORITY\NetworkService":(NP)(RX) >
> "C:\Temp\rad9B244.tmp" 2>&1
> EXIT /B %ERRORLEVEL%
> "
> It is incorrect. I believe that cacls should be run only on specified path
> (d:\Server\DB\).
> Besides this path have full access for Everyone and Administrators.
>
>
This is intentional - it traverses back up the path and makes sure that the
service account user has read and execute permissions on each directory up
to and including the root. Otherwise, it may not be able to actually write
to the data directory, even if it has permission on that directory. It's a
somewhat brute-force approach that I hope to improve by 9.3, maybe earlier,
but it does prevent failures in some environments.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2013-02-01 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-02-01 11:03 BUG #7843: Incorrect using icacls QuiverNAY@gmail.com
2013-02-01 14:53 ` Dave Page <dpage@pgadmin.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox