cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

web terminal accessing /Workspace/Users under tmux

Twilight
Contributor

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?

2 REPLIES 2

Retired_mod
Esteemed Contributor III

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!

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:

  1. start webterm
  2. ls /Workspace/Users (works fine)
  3. tmux
  4. 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?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now