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

Feature request - Add option to mount external storage directly into a user's root directory #7807

Closed
thomasharris5109 opened this issue Jan 12, 2018 · 3 comments

Comments

@thomasharris5109
Copy link

thomasharris5109 commented Jan 12, 2018

When trying to use NextCloud as a dedicated server with storage on another server, it would be useful to be able to mount external storage directly into a user's root directory rather than in a subdirectory.

I have seen workarounds where you mount the SMB storage directly to the machine (which also yields higher performance) but the way everything is set up, I want to sign in to the samba share using NextCloud credentials for the session.

Expected behaviour
Have an option to mount directly into the user's root directory.

Actual behaviour
The external storage is always mounted in a subdirectory of the user's root directory.

I'm sure I'm not the only one who would like this, right?

@MorrisJobke
Copy link
Member

Fixed in Nextcloud 12 via #3438

Duplicate of #3343

@jj-uk
Copy link

jj-uk commented Aug 14, 2018

This doesn't quite work.

If you have 3 users, userA, userB, userAdmin

userA external files are in /data/userA, mounted as / available to userA and userAdmin
userB external files are in /data/userB, mounted as / available to userB and userAdmin

Create these:
/data/userA/folder/file.txt
/data/userB/folder/different-file.txt

When userAdmin logs in, he will only see "folder" containing "different-file.txt"

userAdmin doesn't see all the files from both users, which i think is wrong.

The only was userAdmin will see all folders for all users is if "folder name" is unique for each user., e.g. it cannot be / for each user.

@thbl
Copy link

thbl commented Feb 3, 2019

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants