nextcloud / nextcloud/text

[Bug]: Share without "download" permission blocks readme.md

Open
#7,023 4 comments 2 reactions 1 assignee View on GitHub

@mejo- is already working on this.

Since Apr 27, 2026.

1. to develop bug feature: folder description
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

⚠️ This issue respects the following points: ⚠️
Bug description

If I share a folder without the "can download" permission the readme is not rendered

Steps to reproduce
  1. Share a folder which contain a readme.md with a user and remove the download permission
  2. Go to the recipient and open the folder

This is how the file listing looks like:
image

If I try to open the readme.md:

image

I also can't view the images.
image

Expected behavior

I can view the content in the browser and only the download should be forbidden.

If it is the intended behaviour we should have at least a nice file listing and a nice error message in all situations

Installation method

None

Nextcloud Server version

28

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.