Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qextserialport 1.2 Beta2, Permission Denied

Qextserialport 1.2 Beta2, Permission Denied

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dcbasso
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DerManu
      wrote on last edited by
      #2

      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@

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved