|
|
Subscribe / Log in / New account

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

"version 4 does use names instead of IDs"

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.


to post comments

Please don’t hard-code assumptions

Posted Jan 31, 2019 17:40 UTC (Thu) by akkornel (subscriber, #75292) [Link]

Ah, I did not know that! Thank you very much for the clarification; I will have to remember that.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds