Overview
| Artifact ID: | e822fa6e1628738376b66f5859b827b3b7159231 |
|---|---|
| Ticket: | 855923ffffffffffffffffffffffffffffffffff
[file readable/writable] broken on W2K (CVS HEAD) |
| User & Date: | cc_benny on 2003-12-09 20:49:48 |
Changes
- icomment:
File Deleted - 69866: File Added - 70042: test.fileaccess.tcl Logged In: YES user_id=143885 > Test no access > 0 != [file readable test.dat] > 0 != [test_read test.dat] > 0 != [file writable test.dat] > 0 != [test_writ test.dat] > Actual rights are: > C:Documents and SettingsVinceDest.dat NT AUTHORITYSYSTEM:F > > BUILTINAdministrators:F If you followed my advice literally, you should have now catch {cacls $fname /E /R "Everyone"} result catch {cacls $fname /E /R $user} result cacls $fname /E /P $user:N catch {cacls $fname /E /R $owner} result Try this instead catch {cacls $fname /E /R "Everyone"} result catch {cacls $fname /E /R $user} result catch {cacls $fname /E /R $owner} result cacls $fname /E /P $user:N > Test readable only > 0 != [file writable test.dat] > 0 != [test_writ test.dat] > Actual rights are: > C:Documents and SettingsVinceDest.dat NT AUTHORITYSYSTEM:F > > BUILTINAdministrators:F > TURINGVinceD:R And after puts " Test readable only" Also add cacls $fname /E /P $user:N Anyway. I'll just upload my new version of the script ;-). - login: "cc_benny"
- mimetype: "text/plain"
- username: "cc_benny"