mesg: ttyname failed: Inappropriate ioctl for device
mesg: ttyname failed: Inappropriate ioctl for device
This error usually occurs in the Ezsh shell when virtual shell is enabled for the user. You can disable the Virtual shell under User> Edit User