Permission denied on start
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
- I am on the latest Hyper.app version
- I have searched the issues of this repo and believe that this is not a duplicate
- OS: Arch linux
- Hyper version:
2.0.0 - Config: an unmodified config, just downloaded the app
- Devtools: no errors in console
- This happened in vanilla hyper app
Issue
I've installed hyper on Arch linux from the AUR, yaourt -S hyper (yaourt is one of the many package managers for the AUR. There doesn't seem to be any error messages in the install process. Once I try and run the hyper app, I get the following ,essage at startup:
running in prod mode
electron will open file:///usr/lib/hyper/resources/app.asar/index.html
Setting Hyper as default client for ssh:// protocol
Failed to symlink Hyper CLI { Error: EACCES: permission denied, unlink '/usr/local/bin/hyper'
errno: -13,
code: 'EACCES',
syscall: 'unlink',
path: '/usr/local/bin/hyper' }
Checking for notification messages
No matching notification messages
This message ^ appears in the terminal I ran hyper from. When I run a hyper command from within the hyper app, such as hyper i hyper-pane, I get the exact same error as above. This error message appears in the hyper app and opens a new hyper window. The dir /usr/local/bin is currently owned by root (which I think it should be?).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue from an Arch Linux AUR installation and inspect the CLI setup around /usr/local/bin/hyper and the logged Electron startup path file:///usr/lib/hyper/resources/app.asar/index.html. Done means Hyper starts without the EACCES unlink error and commands such as hyper i hyper-pane work from within the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arch-linux, electron
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100