Please don’t hard-code assumptions
Please don’t hard-code assumptions
Posted Jan 29, 2019 22:33 UTC (Tue) by bfields (subscriber, #19510)In reply to: Please don’t hard-code assumptions by akkornel
Parent article: Systemd as tragedy
At the NFS layer, yes, at the RPC layer, no. NFSv4 can use strings when getting and setting attributes like file owners or groups or ACLs. At the RPC layer (which is what identifies who is performing a given operation) it still uses numeric IDs, unless you're using kerberos. The NFSv4 design pretty much assumed everyone would want kerberos.
You may already know that, and it's a bit of a digression, apologies. But it causes frequent confusion.
Posted Jan 31, 2019 17:40 UTC (Thu)
by akkornel (subscriber, #75292)
[Link]
Please don’t hard-code assumptions
