-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Always rename shared folder to a unique name if identical folder name already exists to avoid case sensitivity issues on operating systems like Windows #8638
Comments
Issue confirmed using Windows 10 and Ubuntu 16.04 LTS |
@MorrisJobke Can you please triage this? |
client issue I would say ... Nextcloud web UI is case sensitive. cc @nextcloud/client |
Well the client could try to do magic (but this is bound to blow up). Assume a folder But the most confusing part would be that the user has no clue which file gets renamed. So when looking at their phone they see both files. But locally they see: |
It already blows up. The client shows a message (which almost no user reads because it is is hidden in the client main window) that there is a case sensitivity conflict, but still removes all files from the shared folder and moves them into the non-shared existing folder. In the activity log on the server this shows up as if the user deleted all files from the shared folder. |
@rullzer in your example, wouldn't it be practical to then send a signal back to the server to flag that file as problematic if there is going to be a renaming conflict? |
Duplicate of #9459 - see also owncloud/client#1348 for a long discussion about this. Sorry that we can't do much here on the server but rather need to look into how to solve it on the client side. |
Steps to reproduce
photo
to User2 who has a folder namedPhoto
in his Nextcloud alreadyphoto
shared by User1 and puts them into thePhoto
folder.Expected behaviour
Nextcloud server should rename shared folder
photo
in User2's directory to something likephoto (1)
to avoid issues with case insensitivity.Actual behaviour
Nextcloud server creates a shared folder
photo
in User2's directory which already contains a folderPhoto
. This doesn't happen on Linux or in the web interface, but if a Windows client downloads the shared folder, it puts all files into the already existingPhoto
folder and deletes them from the folderphoto
shared by User1.Server configuration detail
Operating system: Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64
Webserver: Apache/2.4.18 (Ubuntu) (apache2handler)
Database: mysql 5.7.21
PHP version: 7.0.25-0ubuntu0.16.04.1
Nextcloud version: 12.0.5 - 12.0.5.3
Updated from an older Nextcloud/ownCloud or fresh install: 11
Where did you install Nextcloud from: Official ZIP file
Array
List of activated apps
Configuration (config/config.php)
Are you using encryption: no
Client configuration
Operating system: Windows 7, Debian 9
The text was updated successfully, but these errors were encountered: