I have recently transitioned from CentOS 7.9
to AlmaLinux 8.9
, and I have noticed a permission error when executing the following command:
$ setserial /dev/ttyAP0 closing_wait none
I get the following output:
Cannot set serial info: Operation not permitted
My user account is part of the dialout
group which I believe needs to be done when wanting to communicate to serial devices, but apart from this I am not sure what else could cause this error message.
When executing the following command, I can confirm I am part of the dialout
group:
$ groups tester
If I list out my serial ports on my machine, I can see they are part of the dialout
group.
$ ls -l /dev/ttyAP*
I don't run the command via sudo
on either Linux Distro, so is there anyway I can identify the cause of the message in AlmaLinux
.
dialout
group? Check withid
. Did you verify thatdialout
is the right group and device withls -l /devttyAP0
dialout
and invoke the command?