Commit 5d6e62e
Fix devpts mount to enable PTY allocation for unprivileged users
Add newinstance,ptmxmode=0666,mode=0620,gid=5 options to the devpts
mount and create a /dev/ptmx -> /dev/pts/ptmx symlink. Without these,
TUI applications (e.g. Claude Code) hang inside the VM because
unprivileged users cannot allocate PTYs.
Fixes #37
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c38d472 commit 5d6e62e
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments