Skip to content
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

Running the docker server changes permissions of /dev/ptmx, crashing tmux #278

Open
durka opened this issue Jun 11, 2024 · 0 comments
Open

Comments

@durka
Copy link

durka commented Jun 11, 2024

After running the cpud_test example from the README, the permissions of /dev/ptmx are incorrect:

$ ls -l /dev/pts                                                                                                                                                                                                                                                                                                
total 0                                                                                                                                                                                                                                                                                                                        
[snip]
c--------- 1 root   root   5,  2 May 20 06:14 ptmx

This makes tmux, screen unrunnable (they just exit with no error, so this was somewhat hard to track down) and sometimes crashes them if they are already running. No good on a multi-user system!

(If you got here trying to recover your system: sudo chmod a+rw /dev/ptmx)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant