-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Renaming folder doesn't sync to other users #2063
Comments
This is actually the expected behaviour, because the name might be different for each user and the users can rename the folder on their end. |
Ok, not very good for centrally managed shared folders. Perhaps I'm not using your product in correct way. Any options to change this behaviour? |
Commenting on this as for a centrally managed share folders/file system, if User 1 renames a file, ALL users should see it as renamed. Not following this behavior would be a big show stopper for any company thinking of migrating from sharepoint or dropbox to NextCloud? If two users are trying to make changes to 1 file and 1 user renames (not copies) it, both users are now working on different documents, and the other user doesn't even see (in the web or a synced version) the NEW file name??? What use case in a shared environment are you thinking the users should be able to have the same files/folders only give them different names without other users seeing the changed names? I can't even think of a use case where that is helpful, and doesn't end in a bad situation of identical files with different names not seen by all users who supposedly have access to the file(s)? |
Please consider reopening this. In my opinion, it is a valid bug. A shared file or folder that is renamed should still be properly shared. |
@secure11 you seem to misunderstand. Only the most outer folder you shared with someone is not renamed. Example:
The problem is that UserB could rename the
That is also a misunderstanding. Renaming a file does not remove or corrupt shares. |
@nickvergessen I don't mean that the share is removed or corrupted. I mean that if UserA shares a file1.jpeg with UserB, then UserA renames the file to file1.jpg then the file rename does not propagate to UserB. In the specific case reported to me by a user, he shared a file with a large number of users then realized that the file extension was wrong and wanted to correct it, but the new filename did not propagate to the other users. To work around this he renamed the file and then unshared and reshared it with each of the users. I got the impression from the user that he found this process inconvenient. Perhaps it's worth considering a way to make this more convenient? Thanks! |
I guess it makes some sense. Maybe @jancborchardt can comment on it. |
I am also configuring NextCloud to be used as a centrally managed share folders/file system and am running into the same kinds of issues shared in this thread. It would be ideal if a file that is renamed, is then renamed for all other users it is shared with. |
Was this addressed by chance in the nextcloud 12 release? Seems to me this is a show stopper for many users and organizations?
|
What are your takes here @karlitschek @schiessle @nickvergessen? If I remember correctly we deliberately chose this path because lots of people mentioned they wanted to use their own ordering. If however most other solutions do it in the way as described here, and our way results in confusion, we should adjust it. :) |
For comparison, file/subdirectory synchronization in seafile and pydio work as we have described here. Also with Dropbox and office365. I used to use owncloud way back when and I don't recall this behavior so that is why I thought it was a bug in nextcloud?
|
@secure11 it was definitely that behavior all along. So @nextcloud/sharing @karlitschek @LukasReschke @MorrisJobke since others are doing it differently, do we want to adjust to avoid confusion? |
no strong opinions here. What do the others think? |
We maybe should do some research on how others handle the corner case like: owner renames to a name that the recipient already uses for another folder, but beside that I'm open to adjust to the "rename for others" approach |
I would only rename when the name is the "same" or "same (1)" |
Our company utilizes Nextcloud as a central hub for our documents, and we have also found this current behavior of Nextcloud to be detrimental. We would greatly appreciate changing the sync protocol to what has been outlined here. If the example @nickvergessen described earlier is still a concern, or if local naming/ordering is something that others want to preserve, perhaps a system combining both methods could be created. For example, having a local name and a shared name, I.E. local-name.txt (shared-name.txt). |
Hi, |
I like the current approach. If somebody shares a folder images with me I should be free to rename that to whatever I want. Also I would find it weird that if somebody shares a folder with me. It can change name without me knowing about it at any time. This can lead to weird things. |
Also note that propagating renames of single shared files won't solve the issue. If that would be the case imagine User a shares a file Foo to user b |
I do not share these folders |
I agree. I think it is also quite confusing for the user if file names can change without knowing. Imagine you start working on a document called "foo.txt" today and tomorrow when you want to continue "foo.txt" is no longer there but therefore other files. Maybe if it is just one new file you might guess that this is the old "foo.txt" But if multiple new files appeared because other people shared some new files with your as well? How does the user is supposed to know where "foo.txt" is gone? I like the approach the the user controls the namespace of his files folder and nobody else. |
That is the case already inside of shared folders. It should be clear that anything shared with edit permissions is basically out of complete control. Also, let's not make so many assumptions about what is confusing. If Dropbox, Office365, Seafile and Pydio all work like this request, then it is us who have the unusual and confusing way to do it. |
That is already the case inside of a folder nowerdays, so nothing new...
Wrong, that's kept track of in the activity app. However renaming the shared item does not work, because it is the mountpoint. |
We could make that work though, right? It's not that this detail should be a blocker for fixing this. |
+1 for this. Current behaviour is very confusing. |
+1 for this from me too - we can't tell people in the team which folder to find work in if the folder names are different for everyone. |
Some of you are missing the problem here. What folder names are on MY machine cannot be dictated by other people. If 3 departments all share a "Pictures" folder with me, the folders will already be named different; "Pictures (1)", "Pictures (2)", "Pictures (3)" let's say. I can't have three folders with identical names! Now when marketing says "go in the pictures folder" I already have to translate this, "which pictures folder was theirs? Oh ya, that's (2)". But it would be much better if I can rename it "Pictures (Marketing)". Now I can find their shared folder easier. Now when Susie from marketing says to go in the pictures folder, I know what that is on my end. But people seem to be arguing that they need to maintain control of what folders are called on other peoples' computers. That is not something that can be demanded, simply because they may already have folders with the same name. No matter how you want to argue this, the fact remains that in the situation where a folder already has the same name as the shared folder, the name will have "(1)" appended to it, it has to. This means the functionality to maintain different names across devices must remain. It HAS to be able to do this. My recommendation is to simply create some way in which we can easily and quickly determine that this is a shared folder and that its original name on the source device is XYZ. Create some method to tell that our naming is different from source naming. |
Valid point above. Personally what I would like to see is to retain the folder structure somehow. Now if let's say someone shares /Marketing/Pictures and /Sales/Pictures with me, what I get is /Pictures and /Pictures (2) or something similar. What I would like would be exactly the same but so that I only have access to those shared Pictures folders and not anything else that might be under /Marketing or /Sales. This way, keeping the path, identifying the locations would be easy. Might be hard to achieve though and there's probably reasons against this approach as well, but just my 2 cents. |
@myllymik I don't know if you are aware that although you cannot rename shared folders, you can still move them around. In your use case you could create folders /Sales and /Marketing and once a new folder appears in "share_folder" move it to /Sales or /Marketing. It's not automatic, but works for me... In my opinion sharing the folder structure would probably introduce new corner case / issues. For example User A shares /files-shared-by-me/projectA/pictures, but User B only wants /projectA/pictures |
@schaarsc ah I didn't think about that possibility. Thanks for the tip. |
we have the same issue using nextcloud. folder structure should be the same for all users. when you tell someone where a file is located the path should be the same for all in my opinion, even though i get the use cases above. i would say though, that these are the exception rather then the norm and the same absolute file paths for the users would be the norm. please let me know if you plan on changing that behaviour. |
It's clearly a problem and really confusing. If you rename a folder in github and I get the latest version the name of the folder will be changed for me too. It's everything but friendly. I've just lost half a day with this and my client too. Nobody understood what was happening. If this is the case andd we end up here and we are not alone, sincerly, it's a bug. It should work like others. We are considering using one user for everyone... |
One solution/enhancement would be to introduce Labels that are displayed inline next to file and folder names. This would allow users to modify folder names and structure however they wish, but the labels (which could be locked by admin), could be a quick and easy way to identify and refer to common folders and files across multiple accounts., like this: This would also provide another functionality... for example, you could assign labels based on status, such as: Open, Processing, Closed, etc., to folders containing orders, project files, etc. which would easily communicate status changes. Searching and sorting by labels would be nice too. :) |
Great idea! |
+1 on this... the labeling idea could be a good work around. At very least, an access level differentiation that would prevent a 'user' from changing a folder or file name created by an 'admin' (for either their own folders and files or that of the admin) but, would allow the admin to change folder and file names that would propagate to the user... |
+1 for this. a file should only have one name. this is very confusing for our employees... |
+1 |
I started this thread long ago. Still really need this functionality. Your product is superior in so many other ways; however it is a showstopper for us without this functionality.
|
I read it too as an issue rather than a feature. I'm promoting FOSS to layperson users within my organization and this naming desync creates a lot of confusion and mistrust. I love NextCloud and would like to contribute further to its development to the best of my abilities; yet, this renaming issue is a hard blow for proper collaborative work. Another note: can't tell whether it is related or not, but it seems I cannot delete a "main" folder for the others without having it re-appear on their own web interface... Isn't there some sort of ownership's right attached to a folder you create? This could perhaps be a first lead to solve the issue. |
It's not intuitive to ask each user to rename a folder or to get everyone on the same page for a folder name, especially if you are working in a big team with thousands of people. Could you please fix this? |
I think that there are two cases here. Scenario one: shared workspace for a team or entire organization Scenario two: a one-off share So, I think we actually have a 'perfect' solution for this and should close this issue. But first I want to point out that this isn't much of a private user issue - we cover scenario 2 (which is a typical SMB/private user case) just fine, with the default. If you're a business and you had a subscription, as part of onboarding, you would have discussed how you work with us. And we'd have told you what the best way of dealing with such issues is: create a groupfolder. That does EXACTLY what you need, with a few added bonusses: people can't unshare it, you can set fine grained access control lists and more. If you work with 'thousands of people' like @madhums does then yes, this is your solution, don't just share a folder with everyone because that will get you in trouble. Consider this free advice - and consider the loss in productivity your thousands of people experienced because you didn't simply discuss this with the right experts earlier on in the setup of your instance. |
Hi @jospoortvliet, Last time I checked, groupfolders do not work with encryption (server side). That's a blocker for some enterprises. |
Since groupfolders can not be external storages atm, the argument of serverside encryption is invalid as per our explanation (warning box on https://docs.nextcloud.com/server/18/admin_manual/configuration_files/encryption_configuration.html ) |
Ok, another downside of groupfolders. |
My client needs the rename to work as well. Each user does not want a name other than the original name given. Most of the people using it are non-techies, so having "labels" and names will likely confuse them. Please advise on your plan. They are looking seriously into paid support. Because we will need it. My suggestion would be an addon that forces rename across the board to all users. Or a configuration change (ofcourse) "force_rename_propagation = true". |
@jospoortvliet
Just my free feedback, no complaint. I like OSS to succeed. |
Is there any progress on this issue? I face the same situation in 25.0.3 |
More detrimental is that the share is also lost if the user having shared the folder renames it afterwards. A really big issue. |
To be clear here, ATM, the options are:
If you're using GroupFolders, i could also recommend Workspace (requires GroupFolders): https://github.com/arawa/workspace |
Steps to reproduce
Expected behaviour
All users should see the same new folder name
Actual behaviour
Every user got his own folder name
Server configuration
Operating system: CentOS 7
**Web server: Apache/2.4.6 (CentOS)
**Database: mysql 5.5.38
**PHP version: 5.5.38
**Nextcloud version:10.0.1 (stable)
**Updated from an older Nextcloud/ownCloud or fresh install:updated from old ownCloud
Where did you install Nextcloud from:
Signing status:
Signing status
List of activated apps:
App list
The content of config/config.php:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
``` Insert your webserver log here ```Nextcloud log (data/nextcloud.log)
Nextcloud log
``` Insert your Nextcloud log here ```Browser log
Browser log
``` Insert your browser log here, this could for example include:a) The javascript console log
b) The network log
c) ...
The text was updated successfully, but these errors were encountered: