Artifacts Associated With Ticket 4af110a6a1
Ticket change [05c29ffd8f] (rid 218668) by apnadkarni on 2023-09-25 14:45:39:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
Example: ``` % zipfs mount ../tests/zipfiles/test.zip /a/b/c % file attributes //zipfs:/ -longname //zipfs:/ -shortname //zipfs:/ % file attributes //zipfs:/a could not read "//zipfs:/a": no such file or directory % file attributes //zipfs:/a/b/c -uncompsize 0 -compsize 0 -offset 0 -mount //zipfs:/a/b/c -archive /mnt/d/src/tcltk/wip/tcl/tests/zipfiles/test.zip -permissions 0o555 -crc 0 ``` The first two above seem wrong. In the first case, the -longname and -shortname should apply to native files only. They make no sense for the zipfs mount. On Unix, the command raises an error which does not make sense for an existing directory. Likewise, the second command should not raise an error for an existing directory. Seems to be the correct behaviour should be to return an empty attribute dictionary. The zipfs-specific attributes as in the last command do not apply since there is no single archive associated with //zipfs:/ or //zipfs:/a. They are part of the mount path, not the archive and there can be more than one archive mounted below.
- foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "file attrs fails on zipfs path directories"
- type initialized to: "Bug"
Ticket change [5f89440e53] (rid 219001) by apnadkarni on 2023-10-02 07:04:24:
- closedate changed to: "2460219.79472803"
- closer changed to: "apnadkarni"
- icomment: "Fixed in [735e596737]."
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"