database - 在 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
当我在临时未知主体中检查安装程序目录时,是否有 安装程序提取目录所有者
还更改用户临时目录和访问权限,但仍然没有成功...
解决方案
推荐阅读
- python - Python PEP8:在多行导入时忽略单个导入
- google-cloud-dataflow - 不同的引发错误(llegalStateException:GroupByKey 的 keyCoder 必须是确定性的)
- plugins - 删除父帐户时如何防止联系人删除?
- javascript - WMTS 在传单 js 中显示 emty 磁贴
- c# - CommandLineParser - 值不变
- autodesk-forge - Autodesk Forge 支持哪些 IFC 版本?
- javascript - 我如何导出 multer 模块
- haskell - 有没有办法“提升”构造函数?
- uiview - 为什么 UIView 变量无法创建保留周期问题?
- php - 反向代理后面的 Laravel 路由显示错误的 url