Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: external storage mount in a subdirectory structure does not show up when shared unless root directory already exists #47341

Closed
4 of 8 tasks
mickenordin opened this issue Aug 20, 2024 · 3 comments · Fixed by #47417

Comments

@mickenordin
Copy link
Contributor

⚠️ This issue respects the following points: ⚠️

Bug description

It is possible to create external storages and add users to them, and have the storage be invisible to the user, unless the user allready has the correct directory structure

Steps to reproduce

  1. As admin, create several external storages with the following names:
toplevel/sublevel1
toplevel/sublevel2
  1. Share both extenal storages with User A
  2. As user A, log in to Nextcloud and notice that you have no shares in your root folder.
  3. As User A notice that if you create a directory called toplevel your shares magically appears

Expected behavior

toplevel directory should be created if it does not allready exists

Installation method

None

Nextcloud Server version

29

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

@mickenordin mickenordin added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Aug 20, 2024
@joshtrichards joshtrichards changed the title [Bug]: files_external external storage in a directory structure shared with a user does not show up unless root directory allready exists [Bug]: external storage mount in a subdirectory structure does not show up when shared unless root directory already exists Aug 20, 2024
@provokateurin provokateurin self-assigned this Aug 21, 2024
@provokateurin provokateurin added 2. developing Work in progress and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Aug 21, 2024
@provokateurin
Copy link
Member

Also reproducible with a single external storage with a / in the name.

@small1
Copy link

small1 commented Aug 22, 2024

This also applies to groupfolders. if you create a nested groupfolder and the top oesnt exist you will get the same problem.

@provokateurin
Copy link
Member

@small1 the groupfolders problem should be solved by my fix as well.

@provokateurin provokateurin added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Sep 3, 2024
@provokateurin provokateurin moved this to 🏗️ In progress in 📁 Files team Sep 3, 2024
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 📁 Files team Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ☑️ Done
Development

Successfully merging a pull request may close this issue.

4 participants