Skip to content
Tcl Source Code Artifact [a6f3770196]
Login

Artifact [a6f3770196]

Artifact a6f3770196f3f0fb597c1a0daddcd47db3347d14:

Ticket change [a6f3770196] - Ticket [219139ffffffffff|219139ffff] <i>file delete -force does not work on read-only directories</i> status still Open with 4 other changes by dkf on 2001-09-04 16:48:21.
D 2001-09-04T16:48:21
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nI'd\sguess\sthe\spermissions\sto\sbe\s0700;\sdon't\scare\sabout\nlosing\sperms\sfor\sother\speople\sas\sthe\sdir\sis\sabout\sto\sbe\nnuked\sanyway.\s\sThough\sif\sthe\sdelete\sthen\sfails,\swe\smust\nrestore\sthe\sperms\sto\swhat\sthey\swere\sbefore\ssince\sthe\sfailure\nmight\sbe\sdue\sto\sanother\sprocess\sowned\sby\sanother\suser\susing\nthat\sdir\sas\sa\sworking\sdirectory\sand\smaking\sit\sfail\sin\sthat\ncase\sis\snot\stoo\sgood.\s\sI\sthink...\n\nThe\sclassic\sway\sto\stest\sthis\sis\s(I\ssuppose)\sto\screate\sa\ndirectory\swith\sa\sfile\sin\sit,\schange\sits\spermissions\sto\nsomething\saggressively\sunreadable,\sand\sthen\sattempt\sto\ndelete\sit.\s\sWe\scan\sthen\sforce\san\sunfixable\sfailure\sby\nputting\sa\ssubprocess\sin\sthere\s(which\swould\salso\sbe\sgood\sfor\nmaking\ssure\sthat\sthe\spermissions\sdon't\send\sup\stoo\sscrewed\sin\nthe\scase\sof\sa\sfailure.)\n
J login dkf
J mimetype text/plain
J username dkf
K 219139ffffffffffffffffffffffffffffffffff
U dkf
Z 13102893c49e18b95ce6ae4e02bbb304