Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Allow to enforce case insensitive filenames #45130

Open
5 of 8 tasks
Tracked by #44963
digimbyte opened this issue Apr 30, 2024 · 6 comments
Open
5 of 8 tasks
Tracked by #44963

[feature] Allow to enforce case insensitive filenames #45130

digimbyte opened this issue Apr 30, 2024 · 6 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement

Comments

@digimbyte
Copy link

digimbyte commented Apr 30, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

due to a case sensitivity on the server, it'll accept one version over another, soft locking the desktop from downloading or merging the files.
example: Misc vs MISC
both can co exist in the server rather than being merged or aggregated

Steps to reproduce

  1. client A creates a folder with an upper case name
  2. client B creates a folder with a camel case name
  3. desktop app will only download one due to OS restrictions, some file merging may be present but files will not be visible to the desktop client
    image

Expected behavior

folders will merge, OR at least warn the desktop client that folder names are duplicated and should be resolved, throwing an error.
would like an aggregation function on the server

Installation method

Official All-in-One appliance

Nextcloud Server version

27

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

n/a

List of activated Apps

n/a

Nextcloud Signing status

n/a

Nextcloud Logs

n/a

Additional info

we are renting our server from an official partner. no technical details known.
I tried renaming folders locally but it causes the desktop app to crash on sync

@digimbyte digimbyte added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Apr 30, 2024
@joshtrichards
Copy link
Member

Related: #44963

@susnux
Copy link
Contributor

susnux commented May 1, 2024

This is current expected behavior. Nextcloud will handle case insensitivity if the storage used does not support it (e.g. external samba storage).

@susnux susnux added enhancement and removed bug labels May 1, 2024
@susnux susnux changed the title [Bug]: Duplicate folder names case sensitive [feature] Allow to enforce case insensitive filenames May 1, 2024
@digimbyte
Copy link
Author

digimbyte commented May 1, 2024 via email

@susnux
Copy link
Contributor

susnux commented May 1, 2024

it's actually causing crashes on the desktop client so..

Then it seems to be a Desktop Client bug, you can report here:
https://github.com/nextcloud/desktop/issues

Maybe it is related to this report here:
nextcloud/desktop#6011

You can also enable case sensitivity for the sync folders on your windows system:
https://learn.microsoft.com/en-us/windows/wsl/case-sensitivity#change-the-case-sensitivity-of-files-and-directories

@digimbyte
Copy link
Author

Can we instead enable case insensativity on the server side as a feature or setting?
And no, I cannot enable case sensative names as it's local drives only, not external media.

I do need to now hunt down all similar folder names on the server and rename them all. This seems daunting as we have over 50gb of resources uploaded by multiple clients.

Could be a feature request

@susnux
Copy link
Contributor

susnux commented May 8, 2024

Can we instead enable case insensativity on the server side as a feature or setting?

This is currently not possible, but is a planned feature for Nextcloud 30.

Currently case insensitivity checks are only performed if the external Nextcloud storage does not support this (e.g. some Samba configurations).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement
Projects
None yet
Development

No branches or pull requests

3 participants