Skip to content
Tcl Source Code Artifact [2fc1991bff]
Login

Artifact [2fc1991bff]

Artifact 2fc1991bff701e76ad7f6b3107fa1751834d8a07:

Ticket change [2fc1991bff] - Ticket [1852572fffffffff|1852572fff] <i>file writable broken</i> status still Open with 5 other changes by dkf on 2009-02-15 16:15:20.
D 2009-02-15T16:15:20
J foundin obsolete:\s8.4.18
J icomment (Note:\sI\scannot\stest\sthis\sat\sall;\sI\sdon't\shave\sa\sLinux\ssystem\sat\sthe\smoment\s*or*\sSamba\sat\sall.)\n\nThese\sfiles,\scan\sthey\sbe\sactually\swritten\sby\sTcl?\sAs\sin,\scan\syou\s[open]\sthem\sfor\swriting/appending?\sIf\sso,\sthe\sproblem\sis\sin\sTcl_FSAccess();\s[file\swritable]\sis\sa\sthin\slayer\sover\sthat\sAPI.\sDue\sto\sfundamental\srace\sconditions,\sit\sis\sstrongly\srecommended\sthat\sif\syou\sneed\sto\swrite\sa\sfile,\syou\sshould\sjust\s[open]\sit\sand\sget\son\swith\sit\s(using\s[catch]\s-\sor\s[try]\sin\s8.6\s-\sto\shandle\sfailures)\srather\sthan\sdoing\s[file\swritable]\sfirst\sto\ssee\sif\syou\smight\ssucceed.\n\nNote\salso\s(to\sanyone\sworking\son\sa\sfix)\sthat\sdoing\sTcl_FSStat()\sand\sthen\slooking\sat\sthe\spermissions\sbits\sis\snot\sa\sworkaround\sat\sall;\sit\swill\sfail\sutterly\son\ssystems\swith\sACLs\ssuch\sas\sAFS.\s(I\ssuspect\sthat\sthere\smay\sbe\sa\sproblem\swith\seither\sLinux\sor\sSamba's\shandling\sof\sthe\saccess()\ssyscall\sin\sthis\scase,\sbut\sdue\sto\sthe\srace\scondition\sit\sis\snot\ssomething\sI\sconsider\sto\sbe\sa\sdisaster.)\n
J login dkf
J mimetype text/plain
J username dkf
K 1852572fffffffffffffffffffffffffffffffff
U dkf
Z bdc6bf2c50e22a99fcab7f793b4d2499