company logo

File :: permission - Change permissions

The function allows changing access permissions for different types of users (owner, group and others). Permissions will overwrite current permissions completely. The function requires write access rights to the file. Full functionality is supported under Linux, only. Under MS Windows, restricted settings are possible.

Implementation details

File  :: permission ( odaba::FilePermissions ownerPermissions, odaba::FilePermissions groupPermissions, odaba::FilePermissions otherPermissions )
  • ownerPermissions - Owner permissions
  • groupPermissions - Permissions for group members
  • otherPermissions - Permissions for others