Tcl Source Code

Artifact Content
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Artifact 6c35260fe62a23d83dd0e560ba8223b153e649243a4493ed381fab9e0eef3b8e:

Ticket change [6c35260fe6] - New ticket [b43efdfd61] file delete -force does not work on read-only subdirectories. by agalanin 2019-03-16 16:16:38.
D 2019-03-16T16:16:38.473
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment If\sa\ssub-directory\sis\snot\swritable,\sfile\sdelete\s-force\sfails\son\sthe\sfirst\sfile\sin\sthe\sread-only\ssubdirectory.\r\n\r\nPlatform:\sDebian\s9.8\s/\sLinux\s4.9.0,\sx86_64\r\n\r\nScript\sto\sreproduce:\r\n\r\npackage\srequire\sfileutil\r\n\r\nset\stmp\s[::fileutil::tempdir]\r\nfile\smkdir\s[set\sdir\s[file\sjoin\s$tmp\stest-[pid]-[clock\sseconds]]]\r\nfile\smkdir\s[set\ssubdir\s[file\sjoin\s$dir\ssubdir]]\r\nset\sf\s[open\s[file\sjoin\s$subdir\stestfile]\sw]\r\nputs\s$f\stest\r\nclose\s$f\r\nexec\schmod\sa-w\s$subdir\r\nfile\sdelete\s-force\s$dir\r\n\r\nActual\sresult:\r\n\r\nerror\sdeleting\s"/tmp/test-13462-1552752895/subdir/testfile":\spermission\sdenied\r\n\r\nExpected\sresult:\r\n\r\ndirectory\sremoved\scompletely,\sno\serror
J foundin 8.6.6
J is_private 0
J login agalanin
J priority 5\sMedium
J private_contact 96df2f8ded1425b3d4a080bb09fa617f8bda513f
J resolution None
J severity Minor
J status Open
J submitter agalanin
J subsystem 37.\sFile\sSystem
J title file\sdelete\s-force\sdoes\snot\swork\son\sread-only\ssubdirectories
J type Bug
K b43efdfd61d2fbe670fdd1ebcbfce7a999c6bef0
U agalanin
Z 8522d1a8804fb7b311b90b7e211b3975