Skip to content
Tcl Source Code Artifact [5529d2e1ea]
Login

Artifact [5529d2e1ea]

Artifact 5529d2e1eaa21b622f912c4175f166baea79822b:

Ticket change [5529d2e1ea] - Ticket [1193497fffffffff|1193497fff] <i>file writable lies for certain XP directories</i> status still Open with 4 other changes by fvogelnew1 on 2006-03-11 04:47:20.
D 2006-03-11T04:47:20
J icomment Logged\sIn:\sYES\s\nuser_id=1245417\n\nFrom\sJason's\scomment\sbelow\s(2005-05-04\s01:05):\n\n"\nClearly\sfrom\sthe\sMSDN\sdocument\sit\sstates\sthat\sthe\n"Read-only\sattribute"\sdoes\snot\smean\sthat\sthe\sdirectory\sis\s\nnot\swritable,\sbut\sinstead\smeans\sit\sis\sa\s"special\s\ncustomized\sfolder".\sThe\swriteability\sis\sdetermined\sby\sthe\s\nACL\slist.\n"\n\nSo\sfor\sinstance\sfor\sthe\sparticular\stest\sthat\sfails\sin\s\ncmdAH.test:\n\ntest\scmdAH-17.2\s{Tcl_FileObjCmd:\swritable}\s{\n\s\s\s\s-constraints\s{notRoot\stestchmod}\n\s\s\s\s-setup\s\s\s{testchmod\s0555\s$gorpfile}\n\s\s\s\s-body\s\s\s\s{file\swritable\s$gorpfile}\n\s\s\s\s-result\s\s0\n}\n\n$gorpfile\shas\sits\sreadonly\sattribute\sset\s(-setup\soption)\s\nbefore\srunning\sthe\sactual\stest\swhich\sis\s{file\swritable\s\n$gorpfile}\n\nBut\sfile\swritable\snow\schecks\sfor\sthe\sACL\slist\srather\sthan\s\nfor\sthe\sreadonly\sattribute.\sThis\sis\sdefinitely\scorrect\sand\s\nis\sactually\sthe\sgoal\sof\sthe\spatch.\n\nSo\sno\ssurprise\sif\sthis\stest\sfails.\n\nIt\sshould\sjust\sbe\srewritten\sto\sremove\swrite\spermissions\son\s\nthe\sfile\sinstead\sof\ssetting\sthe\sreadonly\sattribute\sbefore\s\ntrying\sfile\swritable.\sAlternatively\sthe\stest\scould\scheck\s\nfor\s-result\s1,\swhich\sreally\sis\sthe\sexpected\sresult\sfor\s\nfile\swritable\sregardless\sof\sthe\sreadonly\sattribute.\n\nIMHO\sthe\stest\sshould\sbe\supdated,\snot\sthe\spatch.\n\nI'll\shave\sa\slook\sat\sthe\sother\sfailing\stests\sfrom\sfCmd.test.\n\n\n
J login fvogelnew1
J mimetype text/plain
J username fvogelnew1
K 1193497fffffffffffffffffffffffffffffffff
U fvogelnew1
Z abd2005d73420031bbfae5781b3c3ae2