GithubHelp home page GithubHelp logo

Comments (21)

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Hi,
Can you test if http://doc.qt.io/qt-5/qfile.html#setPermissions-1 + http://doc.qt.io/qt-5/qfile.html#permissions work on your system? I just call this functions.
Cheers,

from ultracopier.

revast avatar revast commented on September 1, 2024

not really a coder, so would be too much work to find out how. If you can write me a simple test program I can compile and try it. I use ubuntu 16.04, and my qt version is 5.6, 5.6.1+dfsg-3ubuntu1xenialoverlay14+fix1 from kubuntu ppa.

I try to compile it against a newer qt version (qt5.9.4) to see if this happens there, too

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Try a newer version of Qt else this will be fixed with the new standard C++17, the support will be done into the next years at compiler part.

from ultracopier.

revast avatar revast commented on September 1, 2024

ok, I have tried with qt 5.9.4, and its the same problem.

I do not think it's the compiler's fault? There must be a way to fix this. Maybe you could hack together a test program to try if it's really qt's fault?

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

No, I don't think.
Test this code: https://pastebin.com/9Kvk1vmN need have into the current path: the file "source" and the file "destination"
Send me the output console or debug report to see if contains "Unable to get the source file permission" and "Unable to set the destination file permission"
See if it's on all file into all path, or just into specific case.

from ultracopier.

revast avatar revast commented on September 1, 2024

hmm. I tried to compile with:

put file called test.c in build folder
qmake -project
qmake
make

but no luck so far:

https://pastebin.com/wTJmucyY

do you have a hint? or should I try with qtbuilder?

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

With qt creator, new project, console application, replace the .c file content by the paste bin, compile, run, look into application output

from ultracopier.

revast avatar revast commented on September 1, 2024

ok I have managed to do so
Just to be shure that its right what I did:
I compiled the program, then I did:
touch source
touch destiniation
./test

, no output with qt 5.9.4 as well as qt 5.6.1

from ultracopier.

revast avatar revast commented on September 1, 2024

I guess that it works like it should then.
Does that now mean the problem is not related to qt itself?

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

and the destination permission is well set as source permission?

from ultracopier.

revast avatar revast commented on September 1, 2024

yes. I tried different combinations of permissions.. It worked as is should...

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

ok, then this same file, try with ultracopier in debug mode, send me the debug repport

from ultracopier.

revast avatar revast commented on September 1, 2024

ok, I hope I did it right. https://pastebin.com/bh8udZtm

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Yes, you have do right, contact me into few day if I forgot

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Hi, can you try the new version into git?

from ultracopier.

revast avatar revast commented on September 1, 2024

Yes! I can confirm that it is fixed now.

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Then I will publish the version 1.4.0.6 into this days, thanks for your repport, contact me in private to have a ultimate version key

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

I have pushed a new version, it work too?

from ultracopier.

revast avatar revast commented on September 1, 2024

yes, can confirm. I just recompiled and it works as it should.

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

ok, 1.4.0.6 release, include this fix

from ultracopier.

revast avatar revast commented on September 1, 2024

cool! Thanks for your enthusiasm.

from ultracopier.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.