Hey there, fellow data explorer pals! I totally get your excitement when launching that web terminal on your Databricks cluster and feeling the power of running commands like 'ls ./' in the ephemeral xterm instance. It's like traversing the vast universe of data!
Now, I feel your frustration when switching to tmux and encountering that pesky error: 'ls: cannot open directory '.' : Operation not permitted'. But fear not, for I've faced a similar space oddity before.
My advice to you, dear author, is to check the permissions and ownership of the directories you're trying to access within tmux. Sometimes, tmux can carry over permissions from the initial shell instance, causing these roadblocks. Use 'ls -la' to check the permissions, and 'chown' or 'chmod' to adjust them if needed. Also, ensure that you're using the same user context for tmux and xterm.
In my case, after some tinkering, I had the tmux and xterm both singing in harmony, exploring the same directories effortlessly!