nextcloud / nextcloud/server

Support nextcloud-specific symbolic links

Open
#54,006 9 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • 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.

Is your feature request related to a problem? Please describe.

I have a nextcloud server with 2 accounts: account1 and account2.

account1 files structure:

/private
/private/photos
/common

account2 files structure:

/documents

I would like account1 to:

  1. be able to create some kind of reference to the folder /private/photos inside /common:
/private
/private/photos
/common
/common/photos -> /private/photos
  1. be able to share the folder /common, so that account2 sees the shared folder common inside which they can click on the folder reference photos and be redirected to the folder photos (with proper access control checks)

Describe alternatives you've considered
I didn't find any alternative

Additional context

To start with, maybe we could get rid of access control checks and simply consider that when a folder is shared, the folder references inside it inherit the access controls of the shared link

This has to be nextcloud-native because ideally the behavior is replicated in the app: when acocunt2 uploads a file to common/photos, it gets uploaded to account1//documents/private/photos

Maybe this référence could be directly translated to a symbolic link on the underlying filesystem, when compatible

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, tests, or entry points. Start by mapping Nextcloud's existing sharing and filesystem-reference behavior, then define the access-control and upload semantics for references across shared folders. Done means a scoped implementation plan and tests covering navigation, permissions, and uploads.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.