<i>Intermediate directories in zipfs mounts are treated as not existing</i>.
by
.
D 2023-09-15T05:42:50.987
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment When\san\sarchive\sis\snot\smounted\sat\sthe\szipfs\sroot,\sintermediate\sdirectories\sare\snot\sseen\sas\sexisting.\sThis\sis\snot\sa\sminor\sissue\sbecause\sa\srecursive\sglob\sstarting\sat\sthe\szip\sroot\swill\sfail\sto\sfind\sfiles\sin\sthe\sarchive.\r\n\r\nA\ssecondary\sissue,\salso\simportant,\sis\sthat\sthe\scommands\son\sthe\sintermediate\sdirectories\stake\smore\sthan\s1s\sto\sreturn\s(at\sleast\son\sWindows)\son\sfirst\sinvocation.\sThis\sis\sprobably\stied\sto\sthe\sUNC\sinterpretation\sas\sreported\sin\s[93eb73784a](https://core.tcl-lang.org/tcl/tktview/93eb73784a).\r\n\r\n```\r\n%\szipfs\smount\s../tests/zipfiles/test.zip\s//zipfs:/a/b/c\r\n%\szipfs\sexists\s//zipfs:/\r\n0\r\n%\szipfs\sexists\s//zipfs:/a\r\n0\r\n%\szipfs\sexists\s//zipfs:/a/b/c\r\n1\r\n%\sfile\sexists\s//zipfs:/\r\n0\r\n%\sfile\sexists\s//zipfs:/a\r\n0\r\n%\sfile\sexists\s//zipfs:/a/b/c\r\n1\r\n%\sglob\s//zipfs:/a/*\r\nno\sfiles\smatched\sglob\spattern\s"//zipfs:/a/*"\r\n```
J foundin 8.7
J is_private 0
J login apnadkarni
J priority 5\sMedium
J private_contact 9546e9877f1a8899e25a89082561ee694e7fb402
J resolution None
J severity Important
J status Open
J submitter apnadkarni
J subsystem -\sNew\sBuiltin\sCommands
J title Intermediate\sdirectories\sin\szipfs\smounts\sare\streated\sas\snot\sexisting
J type Bug
K 02acab5aea7c3457889ec96a73b7213ce25ea7ca
U apnadkarni
Z d703fff345a3057553a5ee9ce38c28e1