-
Notifications
You must be signed in to change notification settings - Fork 227
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
Permission denied on .slack-term #138
Comments
If you installed slack-term using GNOME Software, config directory seems to be |
The same problem in my case. This should be "bug" not "question". Also in my case this is NOT problem of permissions. My system: Ubuntu 18.04 |
I realized now, it is problem of Ubuntu package. If I download binary from github, It seem to be OK... |
Yup. The sandboxing means slack-term snap has access to limited directories. As @Kehet points out running |
@fidlip It would be a good idea to remove your slack token from here and get a new one. |
Good point, thanks |
Hi: this problem persists, I'm afraid. Downloaded from github, but experiencing same, no matter which of strategies suggested above. [Ubuntu 18.04] |
What is full path of your configuration file? |
Sorry for the delayed response: |
I think this is confusing for people using snap to install slack-term. Maybe that we should update snapcraft.yml file to improve clarity or add a note in the Readme Setup section. WDYT @erroneousboat ? |
@dbdennis see my comment above. Your config file should be |
For anyone else experiencing this problem, I was hoping to produce an easy step-by-step process to see what is going on and help debug. Here is what I came up with... I invoked slack-term from the command line using strace as follows to debug further:
"openat" is the api slack-term uses to try to open your slack-term file. You can see the exact path it is trying to read, in my case, "/home/cmyers/.slack-term". The first time, you can see it gets permission denied (-1 EACCESS), the second time it works correctly (because I fixed the permissions). I'm hoping the above steps will help folks determine what is going on themselves more easily. |
lordvader@lordvader:~$ slack-term lordvader@lordvader:~$ pwd lordvader@lordvader:~$ ls -l .slack-term help how to fix it |
I have made a fresh installation of slack-term from Ubuntu-18.04 GNOME Software. I have also created the .slack-term file in my home directory as shown on the README. But whenever I try to launch the application from terminal, I get this
However,
Note: the permissions have been edited by me to 777 just to make sure that this isn't actually a permission issue at all.
I have also edited the file to add my token and removed all the comments to make sure that it is a valid JSON. (Even if this was indeed the problem, the error thrown is unclear)
The text was updated successfully, but these errors were encountered: