-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Milestone
Description
Steps
- Create three users "user1", "user2", "user3"
- Login as "user1"
- Create a folder "delete/this"
- Share "this" with "user3"
- Delete folder "delete"
- Transfer ownership of "user1" to "user2"
Expected result
Files transferred, trashbin and trashbin shares ignored (or deleted?).
Actual result
± % sudo -uwwwrun ./occ files:transfer-ownership user1 user2
vincent's password:
Analysing files of user1 ...
0 [>---------------------------]
Collecting all share information for files and folder of user1 ...
1 [============================]
Transferring files to user2/files/transferred from user1 on 2016-11-02T14:06:42+00:00 ...
Restoring shares ...
[OCP\Files\NotFoundException]
This is also likely to happen for any orphaned share pointing to invalid files.
In these cases, best is to catch the "NotFoundException" and ignore.
Versions
Observed on OC 9.0.5
@DeepDiver1975 @owncloud/qa