-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
customer requestRequest from end usersRequest from end usersenhancementNew feature or requestNew feature or requestfix-provided-to-be-verifiedfixedA fix was provided in a versionA fix was provided in a version
Description
Suppose you have a folder shared with you called test1:
ascli aoc files browse /
+-------+------+----------------+------+----------------------+--------------+
| name | type | recursive_size | size | modified_time | access_level |
+-------+------+----------------+------+----------------------+--------------+
| test1 | link | | | 2023-05-08T23:44:57Z | edit |
+-------+------+----------------+------+----------------------+--------------+
You can still create a new folder called test1
ascli aoc files mkdir /test1
and end up with something like
ascli aoc files browse /
+-------+--------+----------------+------+----------------------+--------------+
| name | type | recursive_size | size | modified_time | access_level |
+-------+--------+----------------+------+----------------------+--------------+
| test1 | folder | 0 | | <null> | edit |
| test1 | link | | | 2023-05-08T23:44:57Z | edit |
+-------+--------+----------------+------+----------------------+--------------+
The newly created folder shadows the link, and the original linked folder is no longer accessible.
It is easy to get into this state because ascli's mkdir is not recursive. If you wanted to create /test1/test2/test3, you have to first ensure all parent directories exist, and a natural way of doing that would be to mkdir /test1 then /test1/test2, and finally /test1/test2/test3. But if /test1 was a link, then you will end up creating test2/test3 inside a newly created test1 folder instead of in the linked test1 as expected.
Metadata
Metadata
Assignees
Labels
customer requestRequest from end usersRequest from end usersenhancementNew feature or requestNew feature or requestfix-provided-to-be-verifiedfixedA fix was provided in a versionA fix was provided in a version