-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check trashbin perms before moving to trash
Check whether the target trashbin is writable (ex: guests). In the case where a guest deletes a file as recipient, the owner would get a copy in their trash. The logic here will detect that the guests' trashbin is not writeable so it will fall back to simply moving directly to the owner's trashbin.
- Loading branch information
1 parent
81153de
commit 3e11707
Showing
2 changed files
with
125 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters