On 2019-05-13 22:50 +0900, Pyry Kontio via lfs-dev wrote: > The problem seems to be that the file /dev/pts/ptmx that was created > when mounting devpts filesystem in 6.2 > (http://www.linuxfromscratch.org/lfs/view/stable/chapter06/kernfs.html) > and is symlinked from /dev/ptmx on modern systems, has zero > permissions by default. This makes creating ptys with non-root > permissions fail. Some distros like Debian 9 set the system default > /dev/pts/ptmx to have permissions 0666. Indeed, setting it to have > those permissions will allow the nobody user to run the GCC test suite > successfully.
LFS also have a /dev/pts/ptmx with perm 0600. But I've built LFS on LFS multiple times. Did you forget "-o gid=5,mode=620" when you mounted devpts filesystem? -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page