Overview
| Artifact ID: | ed8527a418c4b55871f8bac7200d211279984dc3 |
|---|---|
| Ticket: | 855923ffffffffffffffffffffffffffffffffff
[file readable/writable] broken on W2K (CVS HEAD) |
| User & Date: | cc_benny on 2003-12-07 21:56:24 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
[file readable] returns 0 for files on my system. Below is the output of the attached test script. The also attached patch fixes the problem for me. The root of the problem seems to be an incorrect use of the MapGenericMask API. >>>>>>>>>>>> % source test.fileaccess.tcl % test Owner: BUILTIN\Administrators User: CAESAR\benny Test no access OK Test readable only 1 != [file readable test.dat] Actual rights are: I:\Projects\test.dat CAESAR\benny:R Test writable only 1 != [file writable test.dat] Actual rights are: I:\Projects\test.dat CAESAR\benny:(special access:) READ_CONTROL SYNCHRONIZE FILE_GENERIC_WRITE FILE_WRITE_DATA FILE_APPEND_DATA FILE_WRITE_EA FILE_EXECUTE FILE_WRITE_ATTRIBUTES Test read+write 1 != [file readable test.dat] 1 != [file writable test.dat] Actual rights are: I:\Projects\test.dat CAESAR\benny:(special access:) READ_CONTROL SYNCHRONIZE FILE_GENERIC_READ FILE_GENERIC_WRITE FILE_GENERIC_EXECUTE FILE_READ_DATA FILE_WRITE_DATA FILE_APPEND_DATA FILE_READ_EA FILE_WRITE_EA FILE_EXECUTE FILE_READ_ATTRIBUTES FILE_WRITE_ATTRIBUTES Test full access 1 != [file readable test.dat] 1 != [file writable test.dat] Actual rights are: I:\Projects\test.dat CAESAR\benny:F % <<<<<<<<<< - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "cc_benny"
- subsystem changed to: "37. File System"
- title changed to: "[file readable/writable] broken on W2K (CVS HEAD)"
- type changed to: "Bug"