5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions</h1> |
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a check for setting too permissive file permissions. |
11 Module implementing a check for setting too permissive file permissions. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 <tr><td>None</td></tr> |
21 <tr><td>None</td></tr> |
23 </table> |
22 </table> |
|
23 |
24 <h3>Functions</h3> |
24 <h3>Functions</h3> |
25 |
|
26 <table> |
25 <table> |
27 |
|
28 <tr> |
26 <tr> |
29 <td><a href="#_statIsDangerous">_statIsDangerous</a></td> |
27 <td><a href="#_statIsDangerous">_statIsDangerous</a></td> |
30 <td>Function to check for dangerous stat values.</td> |
28 <td>Function to check for dangerous stat values.</td> |
31 </tr> |
29 </tr> |
32 <tr> |
30 <tr> |
36 <tr> |
34 <tr> |
37 <td><a href="#getChecks">getChecks</a></td> |
35 <td><a href="#getChecks">getChecks</a></td> |
38 <td>Public method to get a dictionary with checks handled by this module.</td> |
36 <td>Public method to get a dictionary with checks handled by this module.</td> |
39 </tr> |
37 </tr> |
40 </table> |
38 </table> |
|
39 |
41 <hr /> |
40 <hr /> |
42 <hr /> |
41 <hr /> |
43 <a NAME="_statIsDangerous" ID="_statIsDangerous"></a> |
42 <a NAME="_statIsDangerous" ID="_statIsDangerous"></a> |
44 <h2>_statIsDangerous</h2> |
43 <h2>_statIsDangerous</h2> |
45 <b>_statIsDangerous</b>(<i>mode</i>) |
44 <b>_statIsDangerous</b>(<i>mode</i>) |
46 |
|
47 <p> |
45 <p> |
48 Function to check for dangerous stat values. |
46 Function to check for dangerous stat values. |
49 </p> |
47 </p> |
|
48 |
50 <dl> |
49 <dl> |
51 |
50 |
52 <dt><i>mode</i> (int)</dt> |
51 <dt><i>mode</i> (int)</dt> |
53 <dd> |
52 <dd> |
54 file mode to be checked |
53 file mode to be checked |
70 <hr /> |
69 <hr /> |
71 <hr /> |
70 <hr /> |
72 <a NAME="checkFilePermissions" ID="checkFilePermissions"></a> |
71 <a NAME="checkFilePermissions" ID="checkFilePermissions"></a> |
73 <h2>checkFilePermissions</h2> |
72 <h2>checkFilePermissions</h2> |
74 <b>checkFilePermissions</b>(<i>reportError, context, config</i>) |
73 <b>checkFilePermissions</b>(<i>reportError, context, config</i>) |
75 |
|
76 <p> |
74 <p> |
77 Function to check for setting too permissive file permissions. |
75 Function to check for setting too permissive file permissions. |
78 </p> |
76 </p> |
|
77 |
79 <dl> |
78 <dl> |
80 |
79 |
81 <dt><i>reportError</i> (func)</dt> |
80 <dt><i>reportError</i> (func)</dt> |
82 <dd> |
81 <dd> |
83 function to be used to report errors |
82 function to be used to report errors |