.
D 2023-09-25T14:45:39.237
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment Example:\r\n\r\n```\r\n%\szipfs\smount\s../tests/zipfiles/test.zip\s/a/b/c\r\n%\sfile\sattributes\s//zipfs:/\r\n-longname\s//zipfs:/\s-shortname\s//zipfs:/\r\n%\sfile\sattributes\s//zipfs:/a\r\ncould\snot\sread\s"//zipfs:/a":\sno\ssuch\sfile\sor\sdirectory\r\n%\sfile\sattributes\s//zipfs:/a/b/c\r\n-uncompsize\s0\s-compsize\s0\s-offset\s0\s-mount\s//zipfs:/a/b/c\s-archive\s/mnt/d/src/tcltk/wip/tcl/tests/zipfiles/test.zip\s-permissions\s0o555\s-crc\s0\r\n```\r\n\r\nThe\sfirst\stwo\sabove\sseem\swrong.\r\n\r\nIn\sthe\sfirst\scase,\sthe\s-longname\sand\s-shortname\sshould\sapply\sto\snative\sfiles\sonly.\sThey\smake\sno\ssense\sfor\sthe\szipfs\smount.\sOn\sUnix,\sthe\scommand\sraises\san\serror\swhich\sdoes\snot\smake\ssense\sfor\san\sexisting\sdirectory.\r\n\r\nLikewise,\sthe\ssecond\scommand\sshould\snot\sraise\san\serror\sfor\san\sexisting\sdirectory.\r\n\r\nSeems\sto\sbe\sthe\scorrect\sbehaviour\sshould\sbe\sto\sreturn\san\sempty\sattribute\sdictionary.\sThe\szipfs-specific\sattributes\sas\sin\sthe\slast\scommand\sdo\snot\sapply\ssince\sthere\sis\sno\ssingle\sarchive\sassociated\swith\s//zipfs:/\sor\s//zipfs:/a.\sThey\sare\spart\sof\sthe\smount\spath,\snot\sthe\sarchive\sand\sthere\scan\sbe\smore\sthan\sone\sarchive\smounted\sbelow.
J foundin 8.7
J is_private 0
J login apnadkarni
J priority 5\sMedium
J private_contact 9546e9877f1a8899e25a89082561ee694e7fb402
J resolution None
J severity Minor
J status Open
J submitter apnadkarni
J subsystem -\sNew\sBuiltin\sCommands
J title file\sattrs\sfails\son\szipfs\spath\sdirectories
J type Bug
K 4af110a6a12a0c177fb245a7c21be584103b7cff
U apnadkarni
Z ba1f71afb624900fd6711bac6b024ba7