Skip to content

fix(files_external): on case insensitive system, block case change - #41053

Merged
Altahrim merged 1 commit into
masterfrom
bug/smb/in-place-case-rename
Oct 31, 2023
Merged

fix(files_external): on case insensitive system, block case change#41053
Altahrim merged 1 commit into
masterfrom
bug/smb/in-place-case-rename

Conversation

@Altahrim

Copy link
Copy Markdown
Collaborator

Summary

Add an option to declare a SMB share case-insensitive.

When a file/directory is renamed to the same name with only case change, the rename fail. We block this kind of rename.

The user will have to rename to another name first.

@AltahrimAltahrim added the 3. to review Waiting for reviews label Oct 23, 2023
@Altahrim
Altahrim requested review from a team, icewind1991 and juliusknorrOctober 23, 2023 08:21
@AltahrimAltahrim self-assigned this Oct 23, 2023
@Altahrim
Altahrim requested review from ArtificialOwl and nfebe and removed request for a teamOctober 23, 2023 08:21
@sorbaugh
sorbaugh requested a review from come-ncOctober 23, 2023 08:26
Comment threadapps/files_external/lib/Lib/Storage/SMB.php Fixed
Comment threadapps/files_external/lib/Lib/Storage/SMB.php Fixed
Comment threadapps/files_external/lib/Lib/Storage/SMB.php Fixed
When a file/directory is renamed to the same name with only case change,
the rename fail. We block this kind of rename.
The user will have to rename to another name first.
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
@Altahrim
Altahrimforce-pushed the bug/smb/in-place-case-rename branch from 3b90d78 to a45e12aCompareOctober 23, 2023 08:32
Comment threadapps/files_external/lib/Lib/Storage/SMB.php
@solracsfsolracsf added this to the Nextcloud 28 milestone Oct 27, 2023
@Altahrim

Copy link
Copy Markdown
CollaboratorAuthor

/backport to stable27

@Altahrim

Copy link
Copy Markdown
CollaboratorAuthor

/backport to stable26

@Altahrim

Copy link
Copy Markdown
CollaboratorAuthor

CI failure seems unrelated

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@Altahrim@juliusknorr@github-advanced-security@come-nc@joshtrichards@solracsf