[Openmcl-devel] how to query a directory to be writable in CCL Mac and Win?
ralex at cs.colorado.edu
Wed Oct 12 11:53:48 CDT 2011
AFAIK there is no portable CL function to do this but is there some CCL specific way? In Cocoa and Cocotron there is a function isWritable but it appears to be false in some cases, e.g., folders contained in the Application files on Windows 7, even when files appear to be writable in that folder. The only strategy, I am guessing, would be to actually write a temp file and test if that succeeded.
Does anybody have some code handy?
More information about the Openmcl-devel