Skip to content

[Bug]: Regression on external files (SMB) if caseSensitive is false #43633

Closed as not planned

Description

@danielnachtrub

⚠️ This issue respects the following points: ⚠️

Bug description

If external files are mounted via SMB, one of the recent commits introduced a bug that files cannot be accessed and directories cannot be listed anymore.

The affected change is shown here:
a45e12a#diff-65a0745a50632503b67e22fc4fe11789b6cbd41e3fedd475076fcee2144da0d5R686

Omitting this section returns expected functionality.

Steps to reproduce

  1. Add external storage via SMB
  2. Disable case sensitive
  3. Try to access external storage

Expected behavior

Files and Directories should be listed

Installation method

Community Docker image

Nextcloud Server version

28

Operating system

Debian/Ubuntu

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

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Activity

  1. added
    0. Needs triage
    on Feb 17, 2024
  2. Censored3 commented on Jun 15, 2024

    @Censored3

    Don't know if any extra info is needed on this, but I encountered this issue and discovered during traces that the folder queried on the SMB server is actually 2x the subfolder specified in the config.

    E.g., if I configure server 1.2.3.4, share MyShare$, subfolder: Projects/Subproject,
    I see queries happening for folder: "Projects\Subproject\Projects\Subproject"

  3. joshtrichards commented on Aug 1, 2024

    @joshtrichards
    Member

    Without more details I can't say for certain, but this may have been addressed by #43349 (which was released in 28.0.3 a few weeks after your report).

  4. added
    hotspot: filenames
    on Aug 27, 2024
  5. nextcloud-command commented on Sep 27, 2024

    @nextcloud-command
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

  6. added
    stale
    on Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triage28-feedbackbugfeature: external storagehotspot: filenamesneeds infostale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions