Also known as "chmod".
The process must have the correct privileges in order to do this
successfully, or must have the effective user ID matching the owner
of the directory. Additionally, the directory must have been opened
with OpenOptions.iterate set to true.
pub fn setPermissions(dir: Dir, io: Io, new_permissions: File.Permissions) SetPermissionsError!void
pub fn setPermissions(dir: Dir, io: Io, new_permissions: File.Permissions) SetPermissionsError!void {
return io.vtable.dirSetPermissions(io.userdata, dir, new_permissions);
}