web terminal accessing /Workspace/Users under tmux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 04:59 PM
I found this old post (https://community.databricks.com/t5/data-engineering/databricks-cluster-web-terminal-different-permi...) that was never really answered.
I am having the same problem. If I am in the raw terminal, I can access /Workspace/Users just fine but, as soon as I use tmux, I can't access /Workspace/Users (or any other dir under /Workspace). The permissions and id look exactly the same in both cases.
This is a major issue given that I need to access /Workspace/Users and I need to run tmux (to keep the session "alive").
Does anyone have a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 04:06 AM
Hi @Twilight, To resolve this, ensure the `tmux` session runs under the same user context as the raw terminal, verify environment variables are set correctly, initialize `tmux` with the same shell and environment settings, check for any ACLs on the `/Workspace/Users` directory, and consider using the Databricks CLI if the problem persists.
Let me know if you need more help or if there’s anything else you’d like to discuss!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 08:58 AM
Thanks for the reply. It's been a long time since I admin'd a linux system so I'm not quite following your response.
I'm seeing the issue just by doing the following steps:
- start webterm
- ls /Workspace/Users (works fine)
- tmux
- ls /Workspace/Users (fails)
I've never seen tmux not "just work" on any other machine/VM. Could you elaborate on your answer:
- How would tmux not be under the same user context as raw terminal?
- What environment variables need to be set correctly?
- How do I check ACLs on /Workspace/Users? How would an ACL have an impact on raw term vs tmux?

