Function CMSPermissionsScannerWindows->find_excessive_file_perms

Definitions

sources/file_permissions_check.php

  • Find excessive file permissions.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$users array required parameter N/A N/A Users to check for
$acl array required parameter N/A N/A The ACL for the file
$perms integer required parameter N/A N/A A bitmask of permissions that would excessive

Return

  • A tuple: A list of excessive permissions, Whether we will need to disable inheritance, Whether we will need to do a full 'reset', The SID we ended up using
  • Type: array
  • Set: N/A
  • Range: N/A