equal
deleted
inserted
replaced
15 This is a multi-stage test. Click on "done" when you have completed |
15 This is a multi-stage test. Click on "done" when you have completed |
16 reading these instructions.<br><br> |
16 reading these instructions.<br><br> |
17 |
17 |
18 First, policytool will be invoked.<br><br> |
18 First, policytool will be invoked.<br><br> |
19 <ol start="0"> |
19 <ol start="0"> |
20 <li>If testing on Windows, create a temporary directory. (Example: C:\foo\tmp) |
20 <li>Find (or create) a temporary directory that you have write access to. |
|
21 (Example: 'C:\foo\tmp' on Windows or '/tmp' on other systems) |
21 <li>Add new policy entry |
22 <li>Add new policy entry |
22 <li>Add permission: |
23 <li>Add permission: |
23 <pre> |
24 <pre> |
24 Type Target name Actions |
25 Type Target name Actions |
25 FilePermission c:\\foo\\bar read |
26 FilePermission c:\\foo\\bar read |
61 <li>Double click the policy entry to edit it |
62 <li>Double click the policy entry to edit it |
62 <li>Confirm there are ZERO entries in the Principals list |
63 <li>Confirm there are ZERO entries in the Principals list |
63 <li>Confirm there are 2 entries in the permission list |
64 <li>Confirm there are 2 entries in the permission list |
64 <li>Press cancel |
65 <li>Press cancel |
65 <li>Save as "/tmp/p"<br> |
66 <li>Save as "/tmp/p"<br> |
66 If testing on Windows, save in the temporary directory created in Step 0. |
67 (Or use the temporary directory mentioned in Step 0 if it's not '/tmp'. |
67 (Example: Save as "C:\foo\tmp\p.policy") |
68 For example, "C:\foo\tmp\p" on Windows) |
68 <li>Confirm that the file /tmp/p (or C:\foo\tmp\p.policy) looks like |
69 <li>Confirm that the file created in the previous step looks like |
69 <pre> |
70 <pre> |
70 /* AUTOMATICALLY GENERATED ON Tue Jul 19 16:27:30 CST 2005*/ |
71 /* AUTOMATICALLY GENERATED ON Tue Jul 19 16:27:30 CST 2005*/ |
71 /* DO NOT EDIT */ |
72 /* DO NOT EDIT */ |
72 |
73 |
73 grant { |
74 grant { |