Hi, I started using gRPC about one year ago. I mainly use gRPC in C++ and Python on Linux and Windows to improve parts of the software system used in my company.
In most of our use cases, we need to transfer large volume of binary data between machines. So streaming feature of gRPC is really helpful. But recently, we got some difficulties related to user permission. The server runs on a Linux machine and provides services for file access. To fit the existing software system, we want to provide the normal unix file access based on the client's actual user and group id. But the trouble is that the threads created by the server are owned by the user who starts the server. We have tried to start the server with root permission and set the effective uid of the thread for every request, then there is higher overhead. I am wondering if there are better ways to solve this problem using gRPC. Any help will be appreciated.
Weiguo