Date: Sun, 20 Jul 2008 22:11:23 -0700 (PDT) From: Unga <unga888@yahoo.com> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: freebsd-stable@freebsd.org Subject: Re: Pseudoterminals increase: compilation error [SOLVED] Message-ID: <223782.94918.qm@web57004.mail.re3.yahoo.com> In-Reply-To: <20080720103711.GG24076@server.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- On Sun, 7/20/08, Peter Jeremy <peterjeremy@optushome.com.au> wrote: > From: Peter Jeremy <peterjeremy@optushome.com.au> > Subject: Re: Pseudoterminals increase: compilation error > To: "Unga" <unga888@yahoo.com> > Cc: freebsd-stable@freebsd.org > Date: Sunday, July 20, 2008, 6:37 PM > On 2008-Jul-19 19:44:18 -0700, Unga > <unga888@yahoo.com> wrote: > >truss -o truss.log -f expect -c "spawn ls" > > > > 1178: open("/dev/ptyp0",O_RDWR,027757763030) > ERR#5 'Input/output error' > > 1178: open("/dev/ptyp1",O_RDWR,027757763030) > ERR#5 'Input/output error' > > 1178: open("/dev/ptyp2",O_RDWR,027757763030) > = 5 (0x5) > > 1178: fstat(5,{mode=crw-rw-rw- > ,inode=178,size=0,blksize=4096}) = 0 (0x0) > > : > > : > > 1178: chown("/dev/ttyp2",1002,4) > ERR#1 'Operation not permitted' > > This is definitely wrong. expect should not be calling > chown(2), > it should be calling pt_chown. > Yep, it was pt_chown was missing. Fixed the issue. Now ttyp* are created with correct ownerships. A big thank specially to Peter Jeremy and all others who helped me to solve this. Best regards Unga
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?223782.94918.qm>