-
Notifications
You must be signed in to change notification settings - Fork 123
user/dir mountpoint #1074
Comments
i'd say the best solution would be to give each user another elektra.{ini,ecf} file and repeat the whole mounting process at startup for the user giving the users mountpoints priority over the administrators mountpoints (would be expected like with namespaces/configs). about the security, i think (for now) the file permissions are sufficient, but maybe adding metadata with permissions to mountpoints and letting elektra handle some of them would be an good idea for the future. i have no idea how complicated the implementation would would get for that though. |
@krit0n |
See also #1080 about expections for dir/ mountpoints. Maybe user/ mountpoints should be in user/elektra and dir/ mountpoints in dir/elektra? |
Exactly! Probably, however, there are use cases where admins do not want users to overwrite their configs (KIOSK mode). If this can be ensured is unclear, though.
If the admin has some way to ensure to get what (s)he wants, such limitations are maybe not necessary. If the admin does not impose any restrictions it would be fine if a user completely remounts all namespaces as needed. But your proposal also sounds sensible.
spec:/ is from permission level like system:/. Especially for spec:/ there might be users who want to remount sthg, e.g. to allow user-specific installations of software.
This can be even done without mounting (put a plugin with same name as some other plugin to LD_LIBRARY_PATH). |
Overriding a part of The A new resolver plugin (or a config option for the existing one to enable a mode) that always returns files in the users home directory would be solution to both problems. |
Yes, I agree with a "user-resolver for all namespaces" you probably get better what you want in the install an application to Can you sum up what we talked about in the decision of #3693? I think you can remove the previous decision and only write what you plan to do now. |
Will do |
The part about reading |
I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue/PR with the remainder of this issue/PR. |
@kodebach would be great to see this! |
Yes, would be great, but doesn't fit with my thesis topic at all and I don't have unlimited time. |
Ok, lets see maybe someone wants it as project. It should be quite easy to do compared with other projects? It is only some barrier to dive into the code and it is C... |
Calling this "easy" is a bit of a stretch... It might be easier than some other projects, but there are certainly much easier things. Just making |
I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue. |
I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. |
Goal
People new to Elektra usually expect/assume that a user (non-root) must be able to mount a user/dir mountpoint. I think they are right with their expectation but there are important details to be considered first.
Ideas
--as-user
which is suggested when mounting failskdb mount --in-system file.x user/x
system/elektra/security/mountpoints/user/enable
that controls if user/dir mountpoints are enabledIssues
kdb
util a user/dir mountpoint for only one user/dir vs. for every user/dir?Related
#1080
Tasks
Are there additional problems not mentioned in the above list?
Please state your opinion how these issues should be solved.
The text was updated successfully, but these errors were encountered: