PDA

View Full Version : devpts problems for non-root user



ca9mbu
08-03-2003, 03:22 PM
I'm trying to compile the expect package as a non-root user. Issuing the `make test` command results in

---
expect.test
The system has no more ptys. Ask your system administrator to create more.
---

If I run that same command as root then the tests pass as expected. How do I enable non-root users to access the devpts filesystem? I've already tried remounting /dev/pts with gid=5 and mode=620 but that didn't change a thing :(

Thanks,

Matt.

ca9mbu
08-04-2003, 02:20 PM
As a follow up if I run `script;exit;make test` then the testsuite runs through all 25 tests (as is the case with root running `make test`) but only passes 14 of them. Why would running `script` beforehand change this? Does anyone know how I can get `expect` to produce a detailed report of which command it failed to get the expected output from - all I get at the moment is a generic "got return code 1. Expected 0 or 2".

Thanks,

Matt