Major usability issue with sharing Folders between users/groups

Hi everyone.

I run Nextcloud at home and in our company and love it.

However, there is one thing that bugs me really hard since day one when I installed and used my first instance (owncloud back then). Now is the time that I finally talk about it. I hope I am not alone.

Scenario 1: Two users John and Jane.
John wants to share a folder with Jane.

  1. John creates a folder shares/Jane and presses ā€œshareā€ on the Jane folder and selects Jane.
    So far so good.

  2. Now Jane has a folder ā€œclutteringā€ her root folder called
    ā€œJaneā€ (shared by John)

Scenario 2: Two users John and Jane.

  1. John wants to share his music folder with Jane.

  2. Now Jane has a folder simply called ā€œmusicā€ in her root folder. (Never tested what happens on name collisions here)

Scenario 3: Two groups with multiple users ā€œCompanyAā€, CompanyB",

  1. Johhn of CompanyA wants to share stuff with all of CompanyB.
  2. He creates a folder shares/companies/CompanyB and shares this folder with group CompanyB
  3. Now all users of CompanyB hava a folder called CompanyB in their root.

I find this confusing at best for the recipient of the share and even security relevant as people of CompanyB could easily think it is a shared folder for sharing info between them.

My issues are basically.

a) I donā€™t want other people be able to put stuff into my root folder. I love it clean and sorted :wink:
b) Even them deciding how it is called on my site. (I know I can rename/move it after the fact. Still)
c) It can be really confusing at times.

Currently, me knowing this behavior I do something ridiculous as this:
creating shares/Persons/Jane/From_John and share From_John. Which is something I can not expect others on the same instance to do/understand.

Possible solutions
Most likely there are better ideas. But I donā€™t just want to complain. So here my ideas.

a) Inform me of shares, but donā€™t auto accept. Instead ask me on login where to put them and how to name them. Best would be if the sharee could also enter an intent message for the share. So I get this:

Jane wants to share ā€œMusicā€ with you: ā€œHi John, here is the music you asked for, Enjoy!ā€ Accept Reject

b) Let the sharee provide a name for his folder on ā€œthe other sideā€ and put them in a subfolder shared_with_you instead of the root folder

c) Instead of dropping them into the root folder. put them into shares/from/username/sharename and list them separately in the root view like this.

----- Your files ----
documents
music
pictures
shares
ā€¦

----- Shared by John -----
music

---- Shared by Jane ----
companyB

If I missed anything obvious here, please let me know. Maybe I am overthinking something.

3 Likes

There actually is a way to define a global default folder for shares: A folder for all shared files (defined per user)

This obviously doesnā€™t solve all problems, but itā€™s better than sharing to the root directory by default.
I really like the idea of sending a message with your share. Seems like a simple and elegant solution.

b) does essentially exist. Since sharing 2.0 the sharee can just rename any share he/she receives. Just press rename and thats what will happen ā€¦

I think ā€œshareeā€ is the wrong word here. I understand it as providing a name for the person you share with, while maintaining a suitable folder name for yourself.

E.g. Alice shares a folder with Bob.
On Aliceā€™ side itā€™s called ā€œMusic for Bobā€ and for Bobā€™s side Alice provides the name ā€œAliceā€™ musicā€.

Wonder if this is possible by sharing and renaming (on Aliceā€™ side in this case).

EDIT: Renaming after sharing works. So you can give a folder the name you want to be displayed to the recipient and rename it to your likes after sharing it.

This gets even more confusing, if you share eg. Downloads with a group, with read capability. Afterwards I want to grant edit privilege to John on a subfolder called ā€œAppsā€. When I do this, the ā€œAppsā€ folder will be visible for John in his root folder and also in itā€™s original placeā€¦ oddly he wonā€™t be able to edit the same dir if he tries to access it via Downloads->Apps, only by going to the newly created Apps folder. Not the best if this is way the plannedā€¦ :confused:

Yes, this is the current design. Sharing 2.0 works best if a flat share concept is used which is then put into a structure by the user. Yes, this is different from a SMB file system, but those donā€™t have the concept of sharing.

EDIT: Having shared files stored / displayed in a sub-folder of root has been supported since at least NextCloud 11 and is listed in the configuration section of the NextCloud 15 Administration manual as the following:

NextCloud 15 Administration Manual: All Other Configuration Options

ā€˜share_folderā€™ => ā€˜/ā€™,

Define a default folder for shared files and folders other than root.

Defaults to /

So to replicate the suggestion I made originally you would add 'share_folder' => '/Shared with Me/', to config.php

Original Post:
I would like to suggest the model used by Google Drive (among others):

Files shared are shared to a folder called ā€œShared with Meā€

Users can access those shared files directly from ā€œShared with Meā€ folder as well as right clicking (or checkboxing) the share folder and saying ā€œAdd to my driveā€ when adding to their user list they are offered the opportunity to change where that share folder appears and what name it will use.

Bonus if the NextCloud Admin is allowed to add shared folders and specify user share location!

'share_folder' should be translateable to the locale setting of the user. I was thinking to name this ā€œincomingā€ as it somehow invites to be moved and renamed to fit with the ā€œShare 2.0ā€ concept. But things should ā€œmake senseā€ without interaction, so I see the case of OP to ask for cascading within share_folder by the sharing user.
(I see lots of [Share 2.0] commits in the repo, but no principal specification, can somebody point me to a doc?)