Skip to content
Tcl Source Code View Ticket
Login

View Ticket

file readable/writable does not work with Windows Offline Files

Open184358681b7ab4c1bd0807c18e3e7146128fd3daCreated 9 years agoUpdated 9 years ago
Descriptionplain2017-06-13 05:54:33
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.
oehharwiki2017-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

Log in (anonymous is fine) to add a comment.