These functions are supported by fakefs and have exactly the same meanings as in POSIX or Unix:
Note that not all of the semantics of access control are necessarily implemented in fakefs the same way they are in the host OS. A user's real uid/gid identity is irrelevant to a filesystem that exists entirely in user-space and is fully accessible to that user in the host OS. In many cases, this can be considered a feature.