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

Rename files/folders on a mounted SMB share fails if the names differ only by capitalisation #2923

Open
robertwhitton opened this issue Feb 3, 2022 · 3 comments

Comments

@robertwhitton
Copy link

 * 5.2.3
 * Windowed nemo?
 * Mint 20.3
 * 64 bit

Issue
Renaming a file/folder on a mounted SMB share such that the rename only differs by capitalisation fails as it states that the file/folder already exists. It's matching on itself

Steps to reproduce
Rename a file folder on an SMB share such that it only differs in capitalisation

Expected behaviour
The rename should complete without error

Other information
Work around is to rename twice. Such that each rename doesn't differ only in capitalisation.

@cClaude
Copy link

cClaude commented Feb 2, 2023

I don't think this problem is related to nemo

By default SAMBA is configured using: case sensitive = false (server side: /etc/config/smb.conf)

Anyway, the problem is still present with a server using a configuration: case sensitive = true

From a terminal we have the same result:

mv -v file File ; echo $?

give:

mv: 'file' and 'File' are the same file
1

@Jeremy7701
Copy link
Contributor

If the Windows file system is case insensitive, SAMBA hasn't a chance of working.
Never mind the various reserved characters.

@metafarion
Copy link

I can confirm, if the SMB server has case sensitive = yes set, and the underlying filesystem is case-sensitive, nemo on the client side will successfully do a rename involving only capitalization.

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

No branches or pull requests

4 participants