Commit 22bc218
committed
Fix #462: /dev/pts mounted with wrong mode
Before this fix:
admin@infix:~$ sudo ls -la /dev/pts/
total 0
drwxr-xr-x 2 root root 0 Dec 24 08:16 .
drwxr-xr-x 13 root root 13340 Dec 24 08:16 ..
cr-------- 1 root tty 136, 0 Dec 24 08:18 0
crw-rw-rw- 1 root root 5, 2 Dec 24 08:16 ptmx
admin@infix:~$ mount | grep devpts
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=400,ptmxmode=666)
After:
admin@infix-00-00-00:~$ sudo ls -l /dev/pts/
total 0
crw--w---- 1 root tty 136, 0 Dec 24 08:21 0
crw-rw-rw- 1 root root 5, 2 Dec 24 08:20 ptmx
admin@infix-00-00-00:~$ mount |grep pts
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666)
Signed-off-by: Joachim Wiberg <[email protected]>1 parent 702a606 commit 22bc218
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | 374 | | |
376 | 375 | | |
377 | 376 | | |
378 | 377 | | |
379 | 378 | | |
380 | 379 | | |
381 | 380 | | |
382 | | - | |
383 | | - | |
| 381 | + | |
384 | 382 | | |
385 | 383 | | |
386 | 384 | | |
| |||
0 commit comments