I started qemu and wanted to use zmodem to get stuff:
Code:
qemu C.img -serial pty
qemu: char device redirected to /dev/pts/4.
So far so good.
Now minicom:
Code:
minicom -o -p /dev/pts/4
minicom: Device /dev/pts/4 lock failed: Brak dostępu.

It turns out that minicom uses lockdev and lockdev fails with EPERM.
Code:
ls '-l' '/usr/sbin/lockdev'
ls: -rwxr-sr-x 1 root lock 10584 07-01 20:57 /usr/sbin/lockdev
Code:
ls '-ld' '/var/lock'
ls: drwxrwxr-t 6 root root 4096 11-11 23:17 /var/lock

Shouldnt it belong to the group lock instead?