Thread: BUG #8493: Changing file permissions on all files during install

BUG #8493: Changing file permissions on all files during install

From
m8000@abc.se
Date:
The following bug has been logged on the website:

Bug reference:      8493
Logged by:          Ronny
Email address:      m8000@abc.se
PostgreSQL version: 9.3.0
Operating system:   Win 7
Description:

Hi


Postgresql install is running this command during install:
icacls  E:\ /grant "NT AUTHORITY\NetworkService":(NP)(RX)


The installation took over 1 hour.
I install postgresql on C: and the database in E:\database


Regards,
Ronny

Re: BUG #8493: Changing file permissions on all files during install

From
Sandeep Thakkar
Date:
Hi

Installer does not change the permissions on all files.. it just changes
the permissions on the folders mentioned in the data directory path (except
C:\ and C:\Program Files).. It may be because of the inheritance that
icacls just scans through all the files..

Anyways, in 9.3.1, by default the installer will just try to grant
permissions on the data directory and not the whole path.. If someone wants
to enable that check on the complete path, he can do that via command line
switch "--enable_aclcheck 1"


On Mon, Sep 30, 2013 at 7:58 PM, <m8000@abc.se> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      8493
> Logged by:          Ronny
> Email address:      m8000@abc.se
> PostgreSQL version: 9.3.0
> Operating system:   Win 7
> Description:
>
> Hi
>
>
> Postgresql install is running this command during install:
> icacls  E:\ /grant "NT AUTHORITY\NetworkService":(NP)(RX)
>
>
> The installation took over 1 hour.
> I install postgresql on C: and the database in E:\database
>
>
> Regards,
> Ronny
>
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>



--
Sandeep Thakkar
Senior Software Engineer


Phone: +91.20.30589505

Website: www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb