[Bug 43965] Re: konsole -e does not work due to pty problems

Andreas Simon andreas.w.simon at gmail.com
Wed Aug 16 10:24:58 UTC 2006


I can reproduce this error also with konsole 3.5.4-0ubuntu5 on Edgy and
get the same error message as shown in Kenny's picture.

But strangly I have to put a whitespace after the ';', i.e. use

  konsole -e 'ls ; echo hi'

Otherwise I get an error "konsole: ERROR: can not execute ls;". But this
seems unrelated to the pty issue of this bug report.

Here the pty related device permissions on my system:

$ ls -l /dev/ptmx
crw-rw-rw- 1 root root 5, 2 2006-08-16 12:12 /dev/ptmx
$ ls -l /dev/pts
total 0
crw------- 1 andreas tty 136, 0 2006-08-16 12:19 0
crw------- 1 andreas tty 136, 1 2006-08-16 12:18 1
crw------- 1 andreas tty 136, 2 2006-08-16 10:28 2
crw------- 1 andreas tty 136, 3 2006-08-16 12:18 3
crw------- 1 andreas tty 136, 4 2006-08-16 12:12 4
crw--w---- 1 andreas tty 136, 5 2006-08-16 10:28 5
$ ls -ld /dev/pts
drwxr-xr-x 2 root root 0 2006-08-16 12:15 /dev/pts
$ ls -l /dev/pty*
crw-rw-rw- 1 root tty 2, 176 2006-08-16 12:15 /dev/ptya0
...
The /dev/pty* devices all have the same ownership and permission.

-- 
konsole -e does not work due to pty problems
https://launchpad.net/bugs/43965




More information about the kubuntu-bugs mailing list