I started qemu and wanted to use zmodem to get stuff:
qemu C.img -serial pty
qemu: char device redirected to /dev/pts/4.
So far so good.
Now minicom:
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.
ls '-l' '/usr/sbin/lockdev'
ls: -rwxr-sr-x 1 root lock 10584 07-01 20:57 /usr/sbin/lockdev
ls '-ld' '/var/lock'
ls: drwxrwxr-t 6 root root 4096 11-11 23:17 /var/lock
Shouldn’t it belong to the group lock instead?