posix.chmod()

posix.chmod(path, mode)

Change the access permissions of a file.