48 or mode & stat.S_IXGRP |
48 or mode & stat.S_IXGRP |
49 or mode & stat.S_IXOTH |
49 or mode & stat.S_IXOTH |
50 ) |
50 ) |
51 |
51 |
52 |
52 |
53 def checkFilePermissions(reportError, context, config): |
53 def checkFilePermissions(reportError, context, config): # noqa: U100 |
54 """ |
54 """ |
55 Function to check for setting too permissive file permissions. |
55 Function to check for setting too permissive file permissions. |
56 |
56 |
57 @param reportError function to be used to report errors |
57 @param reportError function to be used to report errors |
58 @type func |
58 @type func |