Skip to content

Conversation

@nilsding
Copy link
Member

This PR includes a couple of changes:

  • FileSystem::setFileReadOnly now makes use of long Windows paths
  • same for c_utimes (used by FileSystem::setModTime), i.e. setting the modtime on longer paths now works as well (the Windows variant of csync_vio_local_stat already did that)
  • use QString::utf16 instead of creating a temporary std::wstring
  • replaced one usage of GetFileAttributes with GetFileAttributesW

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
…ary std::wstring

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
@nilsding nilsding added this to the 4.0.2 milestone Nov 17, 2025
@nilsding
Copy link
Member Author

/backport to stable-4.0

@github-actions
Copy link

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

Digest: sha256:00d64eff6c7b9205d913a62b993bdb4ad403f5e02a541d496ff3c7e6c7c0a4e4

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.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
7 New Code Smells (required ≤ 0)
C 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

@mgallien mgallien merged commit 6e621f4 into master Nov 17, 2025
21 of 22 checks passed
@mgallien mgallien deleted the bugfix/noid/max-path branch November 17, 2025 15:22
@nilsding nilsding linked an issue Nov 18, 2025 that may be closed by this pull request
8 tasks
@mgallien mgallien modified the milestones: 4.0.2, 4.1.0 Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Subfolders are recreated constantly

3 participants