<i>Intermediate directories in zipfs mounts are treated as not existing</i> status still Open with 3 other changes
by
.
D 2023-09-15T05:46:52.435
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```\r\n\r\nOf\scourse,\sthis\salso\simpacts\sother\sfile\scommands\slike\s`file\sstat`,\s`file\sisdir`,\s`cd`\setc.
J login apnadkarni
J mimetype text/plain
K 02acab5aea7c3457889ec96a73b7213ce25ea7ca
U apnadkarni
Z 26803f6d4fb76fd977b3347d3b4b75bb