Skip to content
Tcl Source Code Artifact [0c84d45929]
Login

Artifact [0c84d45929]

Artifact 0c84d45929493f1248a9b8ccfeba6032beb54acd:

Ticket change [0c84d45929] - Ticket [1157137fffffffff|1157137fff] <i>Cannot open file if parent directory unreadable on Solaris</i> status still Open with 4 other changes by vincentdarley on 2005-04-13 18:54:35.
D 2005-04-13T18:54:35
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nI'm\snot\sreally\ssure\show\sto\sresolve\sthis.\s\sThe\sfirst\spoint\sto\nmake\sis\sthat\sTcl\smust\scheck\scwd()\sbecause\sif\sthe\sgetcwd()\nhas\schanged\s(possible\sin\sC\sprograms\susing\sthe\sTcl\sAPI)\sthen\nthe\sfile\sreference\sis\sdifferent.\sAlso\sthis\sis\srequired\sto\ndeal\swith\sthe\swhole\svirtual-filesystem\sstuff.\sNow\sthere\sare\nsome\schanges\sthat\scould\sperhaps\sbe\smade\sto\shelp\swith\sthis,\nso\sall\sis\shopefully\snot\slost.\n\nHowever,\sTcl's\stest\ssuite\sactually\stests\sfor\sthe\scase\swhere:\n\ncd\sfoo\nexec\schmod\sfoo\s....\s(remove\spermissions)\npwd\n->throws\serror\sthat\sthere\sare\sno\spermissions.\n\nSo,\sTcl\swants\sto\sthrow\san\serror\sin\sthis\scase.\s\n\nThe\sonly\ssolution\sI\scan\sthink\sof\sis\sthat,\sif\sTcl_FSGetCwd()\nreturns\sNULL\s_and_\sthe\serror\sis\sa\slack\sof\spermissions\s_and_\nwe're\sjust\saccessing\sTcl_FSGetCwd()\sin\sorder\sto\snormalize\sa\npath\s_then_\swe\suse\sthe\scached\svalue\sthat\swas\spassed\sto\s'cd'\ninstead.\n\nThis\smight\sallow\sthis\ssituation\sto\swork\sok\son\sSolaris\sbut\nnot\sbreak\sanything\selse.\n\nany\sthoughts?\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 1157137fffffffffffffffffffffffffffffffff
U vincentdarley
Z 4756c0461c8013dc4c3db0690e417c7b