Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh auth is broken with the writing to readonly .config/gh/config.yml #589

Closed
kachick opened this issue May 10, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@kachick
Copy link
Owner

kachick commented May 10, 2024

cli/cli#7360

open /home/kachick/.config/gh/config.yml: permission denied

Since replaced to new WSL2 instance #585

@kachick kachick added the bug Something isn't working label May 10, 2024
@kachick
Copy link
Owner Author

kachick commented May 14, 2024

@kachick
Copy link
Owner Author

kachick commented May 23, 2024

#600 does not fix this

1! gh --version
gh version 2.49.2 (1980-01-01)
https://github.com/cli/cli/releases/tag/v2.49.2

✓ Authentication complete.
- gh config set -h github.com git_protocol https
✓ Configured git protocol
open /home/user/.config/gh/config.yml: permission denied

@kachick
Copy link
Owner Author

kachick commented Aug 4, 2024

Not happened in NixOS

kachick added a commit that referenced this issue Aug 4, 2024
kachick added a commit that referenced this issue Aug 4, 2024
@kachick
Copy link
Owner Author

kachick commented Aug 5, 2024

On WSL2, it looks worked now 🤔

> la ~/.config/gh
0777   - 08-03 01:15 config.yml -> /nix/store/wb1nh2hqqwfrrwcc9j39hsf280k42vqp-home-manager-files/.config/gh/config.yml
0600 204 08-05 09:15 hosts.yml

The putting secret should be considered in #262

@kachick kachick closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant