def _setAttrs(self, path, attrs):
        if "uid" in attrs and "gid" in attrs:
            os.chown(path, attrs["uid"], attrs["gid"])
        if "permissions" in attrs:
            os.chmod(path, attrs["permissions"])
        if "atime" in attrs and "mtime" in attrs:
            os.utime(path, (attrs["atime"], attrs["mtime"]))
Constructor.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/unix.py/SFTPServerForUnixConchUser._setAttrs--crossover with--dataset/ETHPy150Open ganeti/ganeti/test/py/cmdlib/testsupport/rpc_runner_mock.py/RpcResultsBuilder.__init__