【问题标题】:Permission denied when trying write to the log file in Snowsql on Mac尝试在 Mac 上的 Snowsql 中写入日志文件时权限被拒绝
【发布时间】:2022-09-29 07:44:56
【问题描述】:

使用 Brew 安装 SnowSQL 后,出现以下错误:

We were unable to create or write to the ../snowsql_rt.log_bootstrap. Make sure you have permission to write to the log file\'s parent folder or to modify the location of the log file specified in the SnowSQL log_file configuration option. See docs: https://docs.snowflake.com/en/user-guide/snowsql-config.html#log-file
Observed error: [Errno 13] Permission denied: \'/Users/snowsql_rt.log_bootstrap\'
Version: 1.2.23

我该如何解决这个错误?

    标签: snowflake-cloud-data-platform


    【解决方案1】:

    要修复此错误,您需要更改:

    log_file = ../snowsql_rt.log
    

    至:

    log_file = ../snowsql_rt/log
    

    在您安装 SnowSQL 包的config 中。通常,它位于~/.snowsql 目录中。

    【讨论】:

      猜你喜欢
      • 2013-03-19
      • 1970-01-01
      • 2017-03-27
      • 1970-01-01
      • 2016-05-27
      • 2015-08-24
      • 2015-08-02
      • 2023-04-07
      • 2018-02-20
      相关资源
      最近更新 更多