[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [PATCH]Konsole: Unix98 ttys this time it works
From:       Gioele Barabucci <ml () gioelebarabucci ! com>
Date:       2002-04-04 17:36:42
[Download RAW message or body]

On Thursday 04 April 2002 08:34, Waldo Bastian wrote:
> I now get:
> konsole_grantpty not installed root-suid
This is you installation fault (strange...), I've not modified anything before 
that line and it says:

if (geteuid () != 0) {
  fprintf(stderr,"%s not installed root-suid\n",argv[0]);
  return 1; /* FAIL */
}

> konsole: chownpty failed for device /dev/pts/15::/dev/pts/15.
this is a conseguence of the fact that grantpty returned "1".

> bastian@wantelbos:~> dir /dev/pts/15
> crw-------    1 bastian  tty      136,  15 Apr  3 22:27 /dev/pts/15
>
> So it seems to me that needGrantPty needs to be false in this case, right?
Yes and no: all is ok, but the group is set on a "non deterministic" way (I'll 
explore it more, but I couldn't find any doc about this), you've to use 
konsole_grantpty so set it to "tty".
In my work box the tty is created under group "tape" and with my home box 
under my own group "gioele". Maybe there are some hardcoded values in glibc 
code...


-- 
Gioele Barabucci (Gb])
) mailto:dev@gioelebarabucci.com
) http://www.gioelebarabucci.com
) ) I've been and now I've gone
) )          /Magic Pie^Oasis


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic