Score:1

How do I restrict some directories to some clients in GlusterFS?

pe flag

GlusterFS makes it possible with auth.ssl-allow option to allow or deny access to given volumes for a given client, identified by its SSL certificate, but the access is global: either the client has access to the entire volume, or not.

It also has support for ACLs for individual directories, but the ACLs rely on user names, and not SSL certificates. In other words, if a given machine is compromised, nothing prevents an attacker from creating an account with a given name to access specific directories.

Is there a way to restrict access to the given directories to the clients, specified by their certificate's CN?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.