nextcloud / nextcloud/documentation

External Storage "local: Support read only folders

Open
#11,131 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: external storage pending documentation
Dominant language
JavaScript
Stars
628
Forks
2.5k
Avg merge
2d 11h
Merged PRs (30d)
135

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 want include a local folder in to my nextcloud as External Storage. The access should be readonly. So the www-data user should only get read access to the directory. (Owner of the files is root.) That actually didn't work, because www-data needs write access to the directory (see docs).

Describe the solution you'd like
For External Storage "local" the www-data user doesn't need to have write access to the folder. The user must only have read access, if the External Storage is configured as read only.

Describe alternatives you've considered
A actual workaround is creating a SMB share and include this in to the nextcloud. This works with read only on the folder. But the down site is the accessibility from other hosts, even if a authentication is required.

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

Start with the linked local external storage documentation and compare its stated permissions requirements with the requested read-only behavior. Determine whether the repository should document existing support or track a product change; done means the intended behavior and required documentation or implementation scope are clearly established.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.