Re: GCC: Attempting to run tests as "tester" user results in "su: Cannot drop the controlling terminal"
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2025-01-10 at 22:22 +0000, kevadesu wrote: > Hi everyone, after a flawless run through the LFS book so far, > After building GCC, I get the following errors: > > (lfs chroot) root:/sources/gcc/build# chown -R tester . > (lfs chroot) root:/sources/gcc/build# su tester -c "PATH=$PATH make -k check" > su: Cannot drop the controlling terminal > (lfs chroot) root:/sources/gcc/build# su tester > Cannot execute /bin/bash: Permission denied > > Could there be anything wrong with any of the steps I did? Quote from another user who hit this several days ago: > Looks like it was a permission issue. > chmod 755 /bin fixes it But I'm really skeptical about this "fix." Can you try "chmod -v 755 /bin" to see if it works, and also reply with the output of this command? -- Xi Ruoyao <[email protected]> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page