-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
Bug: Business shared folders with same basename get merged #2434
Comments
@lgiannantoni The detail you have provided is great, but there is nothing I can do in the short term on this - but this will be fixed with the v2.5.x release. |
@lgiannantoni Example: Local Linux Folder State
Sync Process:
A rename of a folder online, triggers a rename locally:
If you could review the above and provide feedback that would be greatly appreciated. When onedrive v2.5.0-alpha-1 also lands, if you could please help test that would also be greatly appreciated. |
@lgiannantoni |
@lgiannantoni |
Marking as Fixed | Implemented as this is included in v2.5.0 alpha series codebase. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
I have a OneDrive business account and I have been shared two folders with the same name,
SharedFolder
, but from two different paths, owned by a second OneDrive business account.Here is the output of
onedrive --list-shared-folders
:The application cannot distinguish one folder from the other because, in the business_shared_folders config file, I can add the shared folders only by basename.
If I add the
SharedFolder
only once in the business_shared_folders config file, there is no warning about the ambiguity in the remote volume.Then, one of the two folders (the one in
Path2
, in this case) is modified to be a merged version of the two. An example is shown in the attached image, whereDocumentX
comes from the otherSharedFolder
(inPath1
) and is in my name (pink patch).Operating System Details
Linux 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC LSB Version: core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch Distributor ID: Linuxmint Description: Linux Mint 21.1 Release: 21.1 Codename: vera
Client Installation Method
From 3rd Party Source (PPA, OpenSuSE Build Service etc)
OneDrive Account Type
Business | Office365
What is your OneDrive Application Version
v2.4.24-1+np1
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
I access the OneDrive folder from my Linux system and from an Android phone (no issues from the latter).
Steps to reproduce the behaviour
Path1/SharedFolder
andPath2/SharedFolder
, with aDocument1
underPath1/SharedFolder
and aDocument2
underPath2/SharedFolder
.SharedFolder
shared with YourAccount (OneDrive business)4.1. In
~/.config/onedrive
create thebusiness_shared_folders
file having contentsSharedFolder
(once or twice, it does not matter)4.2. In
~/.config/onedrive/config
setsync_business_shared_folders = true
onedrive --synchronize --sync-shared-folders --verbose
6.1. In the images below, AccountOther is blue, MyAccount is pink.
Document1
fromPath1/SharedFolder
is uploaded toPath2/SharedFolder
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: