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. Program not executable and permissions problems
QtWS25 Last Chance

Program not executable and permissions problems

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 1 Posters 672 Views
  • 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.
  • J Offline
    J Offline
    JohnDoeQtUser
    wrote on last edited by
    #1

    Hi ! I'm a complete newbie in C++ programming and Qt Creator and I created a short program in Mageia Linux using Qt. The original file runs well but if I upload that file on the net and download it again the downloaded file is no longer executable and I have to tick the option to make it executable in the properies. And even then it doesn't run. When started from the command line it says something about permissions error.

    What do I have to do to make it run in all circumstances and on all Linux distributions ?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JohnDoeQtUser
      wrote on last edited by
      #2

      I just discovered that when the program file is transferred as it is, the file attributes seem to change but when compressed in a .zip archive it works perfectly when unzipped.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JohnDoeQtUser
        wrote on last edited by
        #3

        Ok, I found that permissions are not kept when copying to a fat32 usb key in Linux and I think they also change when you transfer the files on your web page space, at least for an executable file.

        So problem solved, sorry that I created this discussion for nothing. The problem isn't related to Qt Creator after all.

        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