desktop icon indicating copy to clipboard operation
desktop copied to clipboard

avoid detecting permissions to be invalid on linux NTFS file system

Open mgallien opened this issue 10 months ago • 6 comments

Close #7613

mgallien avatar Jan 10 '25 13:01 mgallien

AppImage file: nextcloud-PR-7745-c67aa8dde2ed198018cf3d41e91f9739fc2cf222-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

nextcloud-desktop-bot avatar Jan 10 '25 14:01 nextcloud-desktop-bot

Quality Gate Failed Quality Gate failed

Failed conditions
6 Security Hotspots
87 New Code Smells (required ≤ 0)
E Reliability Rating on New Code (required ≥ A)
2 New Bugs (required ≤ 0)
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

sonarqubecloud[bot] avatar Jan 10 '25 14:01 sonarqubecloud[bot]

I built this branch from source on Linux Mint 21.3 Cinnamon and tested it with some folders on NTFS partitions (different partition than the OS). It works sometimes, which was great! But then it stops working and does not sync new files. Either it is stuck in Offline or it is stuck in "preparing sync..." for hours and nothing happens, even though new files are in the folder. Sometimes it also says "checking folder for new files..." The only solution to make sync work again on NTFS partitions is to remove the accounts and re-add them, then it works sometimes. However, syncing a folder on the same partition as the OS, normal ext4 filesystem, is working fine.

Also weird, When I add an account, I have to authenticate once when I add it and once more when I reboot the machine for the first time afterwards. I don't know if this is on my side (Qt communicating with keyring) or the client side.

Built with Qt 6.8.2. I hope this little experience review will help in the developing process, you are doing an awesome job! If you have more questions, I can try to answer them.

luk-brue avatar Feb 19 '25 21:02 luk-brue

Also weird, When I add an account, I have to authenticate once when I add it and once more when I reboot the machine for the first time afterwards.

this should be fixed with #7768 which was merged after this PR was created (and this branch is currently out-of-date). Should be fine on latest master...

nilsding avatar Feb 20 '25 15:02 nilsding

still on my TODO list hoping to have time soon to finish it

mgallien avatar Mar 12 '25 14:03 mgallien

@mgallien is there anything I could do to support you fixing this bug? Should I test the AppImage from Jan 10? Or do you need Debug-Logs?

Kleisli avatar Apr 10 '25 12:04 Kleisli

should now works fine I tested it with fuse ntfs-3g driver on a recent Debian sid

mgallien avatar Nov 03 '25 10:11 mgallien

Artifact containing the AppImage: nextcloud-appimage-pr-7745.zip

Digest: sha256:5e47f6614c4baec400119a19c04904bca154a5cc9621e44e5759556a6607a0fc

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

github-actions[bot] avatar Nov 24 '25 11:11 github-actions[bot]

Quality Gate Failed Quality Gate failed

Failed conditions
2 New Bugs (required ≤ 0)
193 New Code Smells (required ≤ 0)
E Reliability Rating on New Code (required ≥ A)
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

sonarqubecloud[bot] avatar Nov 24 '25 11:11 sonarqubecloud[bot]

/backport to stable-4.0

mgallien avatar Nov 24 '25 11:11 mgallien