Qextserialport 1.2 Beta2, Permission Denied



  • Hello everyone, I'm using the Qextserialport 1.2 Beta2 to use the serial port!
    So When I run my application with root user I have no problems to send and receive data from serial port. When I start my application with regular user I got this error:

    Error: 16
    Error: "Permission denied"

    How can I solve this problem?



  • Set the suid-Bit and the owner to root. This will allow non-root users to execute the binary with root-permissions.
    @chmod u+s yourBinary@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.