Replies: 1 comment
|
OpenCloud doesn't switch to each logged-in user's Linux UID the way That distinction matters for your TrueNAS setup:
The PosixFS documentation covers both modes and their limitations. So if the goal is merely to expose files through a web UI, collaborative mode may be worth testing. If you need identical Unix ACL enforcement for SSH, Samba and web access, OpenCloud isn't a drop-in replacement for a per-user POSIX session. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Running Truenas, and want to 'expose' each user folders and shared folders, like the samba mapping using a webinterface like opencloud.
From windows the user login and is assigned the corresponding linux user id to access the file, and the filesystem file attributes allow or prevent access.
Sshd is an simular example: a user logins and the connected ssh-client to the sshd-services for this user runs using the userid of this user.
A (dedicated/special) webservices can do something similar: When a (tcp) socket is connected, and after the user supplied its credentials the (user) service runs using the related userid and the service can (only) access what is allowed by the filesystem attributes.
Now for each user its files are accessible using the same filesystem attributes independent of the service used (ssh, samba, rsync, cloud-interface, ...).
How does Opencloud map its users to the users on the host system (runniung docker)?
Can Opencloud do this? Or is it a feature to be considered?
Or is Opencloud running a dedicated userid, which has access to all files (the related) user can/could access, and the usermanagement of Opencloud resticts access, so only the allowed files are seen using the opencloud (web) interface. But this could prevent the files to be accessable/seen for this connectec user using e.g. samba or ssh.
Possible scenarios:
When the userdatabase is fully in Opencloud they can share the userid, and have Opencloud do the file access determination.
Or use (partly) the host linux user database, run the services for the connected user using its userid, and have the host do the file access determination.
All reactions