fn chmod(self: IterableDir, new_mode: File.Mode) ChmodError!void

Changes the mode of the directory. 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.

Parameters

new_mode: File.Mode,