Replies: 1 comment
|
The
To tackle this issue, a filesystem-helper (abbrevated as FH or FSH from now on) may be implemented to handle file system operations, including When FH is invoked, it communicates with the daemon with IPC by setting up a unix-domain-socket (UDS) in The full procedure is described as below:
Multiple python RPC implementations had been evaluated for the protocol between the daemon and FH, initially JSON-RPC which talks on stdin/stdout instead of UDS, but performance was miserable, probably due to huge encoding amplification when handling binary payloads with JSON; then comes RPyC over UDS, it won't performant decently either; finally I gave gRPC/ProtoBuf a try and it seems to be the best amoung the 3. |
Uh oh!
There was an error while loading. Please reload this page.
As discussed at #317 and #184, a feature may be implemented as below:
nobodyIn this scenario, which files/directories a user could access (read/write) depends on unix filesystem ownership (and ACLs) and mode. With this feature, it is perfect for a file-sharing service that provides consistent file ownership and permission with OS and other user/ownership-awared networked filesystem services. (e.g. NFS, SMB)
This feature was discussed at #317 while the conclusion is made that this feature is not implemented and not planned; it is also mentioned at #184 that provides a python context-based solution that won't work:
as
os.seteuid()andos.setegid()in the class destructor would fail as the process is running as a non-privileged user.All reactions