Skip to content

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

@schiessle

Description

@schiessle

⚠️ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions