fn setReadOnly(self: *Self, read_only: bool) void
Sets whether write permissions are provided. This affects all classes. If this is undesired, use unixSet This method DOES NOT set permissions on the filesystem: use File.setPermissions(permissions)
unixSet
File.setPermissions(permissions)
self: *Self,
read_only: bool,