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. QtCreator Permission Denied to File
QtWS25 Last Chance

QtCreator Permission Denied to File

Scheduled Pinned Locked Moved Solved General and Desktop
qtcreatorbugpermissionsembedded linuxwindows10
8 Posts 3 Posters 5.3k 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.
  • R Offline
    R Offline
    rafaelellin
    wrote on 28 Nov 2019, 23:25 last edited by rafaelellin
    #1

    Hi! I have a fresh installation of Qt and im using it to program a Grayhill 3d70 touchscreen. Until now i followed Grayhill's guide, and everything went OK, except that in the 3rd of 5 step of the Deployment QtCreator pops a message saying:

    01:12:02: File transfer failed: Permission denied (C:/Users/MY_USERNAME/AppData/Local/Temp/QtCreator.WksHZu).
    
    01:12:02: Deploy step failed.
    Error while building/deploying project ghQmlDemo (kit: Qt-5.12.2-3Dxx)
    When executing step "Upload files via SFTP"
    

    I tried to change app permissions and to run it as administrator, but no luck... Any help is greatly appreciated!

    J 1 Reply Last reply 29 Nov 2019, 05:40
    0
    • R rafaelellin
      28 Nov 2019, 23:25

      Hi! I have a fresh installation of Qt and im using it to program a Grayhill 3d70 touchscreen. Until now i followed Grayhill's guide, and everything went OK, except that in the 3rd of 5 step of the Deployment QtCreator pops a message saying:

      01:12:02: File transfer failed: Permission denied (C:/Users/MY_USERNAME/AppData/Local/Temp/QtCreator.WksHZu).
      
      01:12:02: Deploy step failed.
      Error while building/deploying project ghQmlDemo (kit: Qt-5.12.2-3Dxx)
      When executing step "Upload files via SFTP"
      

      I tried to change app permissions and to run it as administrator, but no luck... Any help is greatly appreciated!

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 29 Nov 2019, 05:40 last edited by
      #2

      @rafaelellin said in QtCreator Permission Denied to File:

      QtCreator.WksHZu

      Is it possible that this file already exists and is open?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply 29 Nov 2019, 07:11
      1
      • J jsulm
        29 Nov 2019, 05:40

        @rafaelellin said in QtCreator Permission Denied to File:

        QtCreator.WksHZu

        Is it possible that this file already exists and is open?

        R Offline
        R Offline
        rafaelellin
        wrote on 29 Nov 2019, 07:11 last edited by
        #3

        @jsulm I dont think so. It is a file created by Qt itself amd im not really sure about its use(i can't find it in the folder it says it is,probably it is created for a short amount of time?). The point is, that the permission thing happens and in different circumstances: when i tried to configure SSH connectivity, I found the openssh .exe files inside Windows/System32/OpenSSH I copied and pasted the exact file paths in Qt Settings, and it says the files and folders do not exist. Also, when I try to browse the System32 directory from within the Qt Settings, I can see seemingly all directories except OpenSSH(but it is clearly there, I checked many times).
        As a fix, I tried to copy the ssh .exe files on a new folder I created on my desktop, and boom, it worked fine.
        Thats the reason I suspect it has to do with application permissions. I might be wrong, but for now its my best guess and I cant solve it.

        A 1 Reply Last reply 29 Nov 2019, 07:56
        1
        • R rafaelellin
          29 Nov 2019, 07:11

          @jsulm I dont think so. It is a file created by Qt itself amd im not really sure about its use(i can't find it in the folder it says it is,probably it is created for a short amount of time?). The point is, that the permission thing happens and in different circumstances: when i tried to configure SSH connectivity, I found the openssh .exe files inside Windows/System32/OpenSSH I copied and pasted the exact file paths in Qt Settings, and it says the files and folders do not exist. Also, when I try to browse the System32 directory from within the Qt Settings, I can see seemingly all directories except OpenSSH(but it is clearly there, I checked many times).
          As a fix, I tried to copy the ssh .exe files on a new folder I created on my desktop, and boom, it worked fine.
          Thats the reason I suspect it has to do with application permissions. I might be wrong, but for now its my best guess and I cant solve it.

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 29 Nov 2019, 07:56 last edited by
          #4

          Hi @rafaelellin,

          which Creator version is that?

          There has been some issues with deployment on Windows recently, the last I remember was https://bugreports.qt.io/browse/QTCREATORBUG-23269

          It seems your issue is related, so you might want to comment on that bugreport.

          Regards

          Qt has to stay free or it will die.

          R 1 Reply Last reply 29 Nov 2019, 10:41
          1
          • R Offline
            R Offline
            rafaelellin
            wrote on 29 Nov 2019, 09:58 last edited by rafaelellin
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • A aha_1980
              29 Nov 2019, 07:56

              Hi @rafaelellin,

              which Creator version is that?

              There has been some issues with deployment on Windows recently, the last I remember was https://bugreports.qt.io/browse/QTCREATORBUG-23269

              It seems your issue is related, so you might want to comment on that bugreport.

              Regards

              R Offline
              R Offline
              rafaelellin
              wrote on 29 Nov 2019, 10:41 last edited by
              #6

              Hi @aha_1980!
              The version of the QtCreator is 4.10.2 as seen in the picture below. The bug report is about a problem a bit different than mine. It seems that their problem is that the Creator uses the same default(wrong) path every time despite told not to. My problem is that it cannot access the existing folder (I fixed this when I created a copy of the folder in my Desktop. Qt can now find the folder and use the files). I can later upload photos of the exact error messages if it helps.
              a649e0af-d508-441b-99c5-4c91dcb67a61-image.png

              A 1 Reply Last reply 29 Nov 2019, 10:49
              1
              • R rafaelellin
                29 Nov 2019, 10:41

                Hi @aha_1980!
                The version of the QtCreator is 4.10.2 as seen in the picture below. The bug report is about a problem a bit different than mine. It seems that their problem is that the Creator uses the same default(wrong) path every time despite told not to. My problem is that it cannot access the existing folder (I fixed this when I created a copy of the folder in my Desktop. Qt can now find the folder and use the files). I can later upload photos of the exact error messages if it helps.
                a649e0af-d508-441b-99c5-4c91dcb67a61-image.png

                A Offline
                A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on 29 Nov 2019, 10:49 last edited by
                #7

                Hi @rafaelellin,

                in that case you should create a new bugreport and provide the information you already gave here.

                Please post a link to the bug afterwards, so we can follow. Thanks!

                Qt has to stay free or it will die.

                R 1 Reply Last reply 29 Nov 2019, 14:32
                1
                • A aha_1980
                  29 Nov 2019, 10:49

                  Hi @rafaelellin,

                  in that case you should create a new bugreport and provide the information you already gave here.

                  Please post a link to the bug afterwards, so we can follow. Thanks!

                  R Offline
                  R Offline
                  rafaelellin
                  wrote on 29 Nov 2019, 14:32 last edited by
                  #8

                  @aha_1980
                  Hi again!
                  I created a bug report at https://bugreports.qt.io/browse/QTCREATORBUG-23295, lets hope that someone finds a fix. Thanks for your time!

                  1 Reply Last reply
                  2

                  8/8

                  29 Nov 2019, 14:32

                  • Login

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