agrinman / agrinman/tunnelto

Failed to save authentication key file

未关闭
#27 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue
主要语言
Rust
星标
7.1k
派生
547
PR 合并指标
30 天内没有已合并 PR

描述

I have a subscription with 5 subdomains set, and use the provided key in the following command.
Running the following as `sudo` succeeds. However, run as the ordinary user:

```bash
tunnelto set-auth --key
```

Produces this error report:

```bash
name = 'tunnelto'
operating_system = 'unix:Ubuntu'
crate_version = '0.1.12'
explanation = '''
Panic occurred in file 'tunnelto/src/config.rs' at line 86
'''
cause = 'Failed to save authentication key file.: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }'
method = 'Panic'
backtrace = '''

0: 0x5637bba6e2c8 - as core::future::future::Future>::poll::hcd1fa878e1b8802a
1: 0x5637bbad800b - tokio::runtime::enter::Enter::block_on::h95d34c6dc245a0d5
2: 0x5637bbaeda97 - tokio::runtime::context::enter::h186f41ed33a1603c
3: 0x5637bbac58cf - tokio::runtime::handle::Handle::enter::hd6854b6249e24b90
4: 0x5637bbab5b67 - tunnelto::main::h8cef60dfb4b7b7ab
5: 0x5637bbafb743 - std::rt::lang_start::{{closure}}::ha5936fcca8ddcd9e
6: 0x5637bbd627a8 - std::rt::lang_start_internal::{{closure}}::h6d21eebfa4beaf70
at src/libstd/rt.rs:52
- std::panicking::try::do_call::h560a27b87db38b9c
at src/libstd/panicking.rs:297
- std::panicking::try::h453d4afd696011f9
at src/libstd/panicking.rs:274
- std::panic::catch_unwind::h211d02671f23030f
at src/libstd/panic.rs:394
- std::rt::lang_start_internal::h464df2bbf46c7e7c
at src/libstd/rt.rs:51
7: 0x5637bbab5c72 - main
8: 0x7fd61a7e0b97 - __libc_start_main
9: 0x5637bba340ca - _start
10: 0x0 - '''

```

I'm having trouble working out the folder and file that are being written to.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。