Files and folders shared with a team land at "/" (user root dir) instead of landing in the configured "/Shared with me" directory for incoming shares
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Alice sets her folder for incoming shares to /Shared with me
- Bob shares a file or a folder with a team Alice is member of
Expected behaviour
What Bob shared should land for Alice in her "/Shared with" me folder
Actual behaviour
Instead, it lands in "/"
Server configuration
Web server: Apache/Nginx
Database: MySQL/Maria/SQLite/PostgreSQL
PHP version: 8.1/8.2/8.3
Nextcloud version: (see Nextcloud admin page) 31.0.2
List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Browser
Browser name: Firefox/Chrome/Safari/…
Browser version: 124/125/…
Operating system: Windows/Ubuntu/Mac/…
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
2. Bob shares a file or a folder with a team Alice is member of
Is this team named as another user?
Is this team named as another user?
@ShGKme no.
Alice configures its default folder for incoming shares to "/Shared with me". Bob creates Team B. Bob adds Alice to Team B. Bob shares a file/folder to Team B. Alice receives the share at its root directory ("/"), instead of "/Shared with me" directory.
- Might be fixed by https://github.com/nextcloud/server/pull/51602
- Might be fixed by fix: Use default share folder of the user on share accept server#51602
this did not fix it. I can reproduce it in NC31 & NC32
This needs to be fixed on circles side. The PR touches DefaultShareProvider but circles uses its own ShareByCircleProvider. For groups core creates a subshare for each member of the group, and when doing so it sets the target to the default share folder. For circles it seems a subshare is only created if the share is moved.
It would need to be changed to create subshares for each member at creation, or on the first mount, at least for members which have set a default share folder.