nextcloud / nextcloud/guests

Files sharing to a guest breaks when "share_folder" is configured

Open
#335 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
61
Forks
34
Avg merge
3d 19h
Merged PRs (30d)
22

Description

When I share a files to a guest which I create, the "files" window for the guest account stays empty and the "Welcome to Nextcloud" banner is always displayes after the guest user logs in.

After making a couple of tests I seem to have found the cause of the issue in my installation: To not fully put the root folder of my users into chaos with all the files shared to them, I've configured a folder "Shared" for each user where the shared files and directories are collected, this is the directive

'share_folder' => '/Shared',

in my config.php.

Unfortunately this seems to fully upset the files sharing to guest users, rendering this broken.

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 by reproducing a guest file share with config.php set to share_folder '/Shared', then inspect the guest account's files window and login behavior. Done means shared files and directories appear for the guest and the persistent Welcome to Nextcloud banner is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authorization, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.