nextcloud / nextcloud/server

Sharing of folders with shared content (from other users)

Open
#37,270 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

It is not possible to publicly share a folder via URL that itself contains shared content (from other users). The following message appears: 'Error creating share: Path contains files shared with you'.

Sharing this folder with other (internal) users is also not possible. But here it is logical, because otherwise you could create infinite loops.

Is it possible to add this function? Precisely to remove the lock?
Is there anything against it?

NC Server: 25.0.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; start by locating the source of the exact “Path contains files shared with you” validation and tracing folder URL sharing. Define and test the intended behavior for nested shared content while preserving the stated prohibition on internal-user sharing and avoiding loops.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization, backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.