Tcl Source Code

View Ticket
Login
Ticket UUID: 184358681b7ab4c1bd0807c18e3e7146128fd3da
Title: file readable/writable does not work with Windows Offline Files
Type: Bug Version: 8.6.6
Submitter: anonymous Created on: 2017-06-13 05:54:33
Subsystem: 16. Commands A-H Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2017-06-14 07:06:08
Resolution: None Closed By: nobody
    Closed on:
Description:
If tcl is started on a networked drive and you choose to have it available offline
using 'Windows 7/10 Offline Files' feature and then run it offline (after being 
fully synchronized) the following commands return always '0':

file readable
file writable

Other file commands, e.g. file exists, or opening the files work.
If online again the commands return '1' as expected.
User Comments: oehhar added on 2017-06-14 07:06:08:

Dear Harald,

thank you for the report. On the practical side, *file readable* and *file writable* are at the moment not usable under windows due to bugs. And you have found another one.

Here are links to the issues: Ticket [1613456fffffffff] Wiki page: http://wiki.tcl.tk/10081

The only reliable way is to use *file exists* and if you really want to know if it is readable, use *open*.

Any fix or clue welcome.

Thank you, Harald