首页 > 解决方案 > 在 win 10 中安装 postgres 11.5-1 时出现 icacls 错误?

问题描述

我正在尝试在 windows 10 pro 上安装 postgresql 11.5 版本。也以管理员身份运行,但同样的错误。

bitrock_installer 日志

Log started 09/16/2019 at 22:39:59
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Executing icacls "C:\Users\vijay\AppData\Local\Temp/postgresql_installer_30cfb2bb73" /inheritance:r
Script exit code: 0

Script output:
 processed file: C:\Users\vijay\AppData\Local\Temp/postgresql_installer_30cfb2bb73
Successfully processed 1 files; Failed processing 0 files

Script stderr:


Executing icacls "C:\Users\vijay\AppData\Local\Temp/postgresql_installer_30cfb2bb73" /T /Q /grant "vijay:(OI)(CI)F"
Script exit code: 5

Script output:
 Successfully processed 1 files; Failed processing 1 files

Script stderr:
 C:\Users\vijay\AppData\Local\Temp/postgresql_installer_30cfb2bb73\*: Access is denied.

Error running icacls "C:\Users\vijay\AppData\Local\Temp/postgresql_installer_30cfb2bb73" /T /Q /grant "vijay:(OI)(CI)F": C:\Users\vijay\AppData\Local\Temp/postgresql_installer_30cfb2bb73\*: Access is denied.
Cannot delete file C:/Users/vijay/AppData/Local/Temp/postgresql_installer_30cfb2bb73

当我在临时未知主体中检查安装程序目录时,是否有 安装程序提取目录所有者

还更改用户临时目录和访问权限,但仍然没有成功...

标签: databasepostgresql

解决方案


推荐阅读