Skip to content

Conversation

@LukasReschke
Copy link
Member

When creating link shares from external storage, the filesystem cannot
find an owner in some scenarios (ex: system-wide mounts). In such
cases, fall back to using the current user's trashbin which happens to
also be the user who created the link share.

Fixes an issue where this scenario made deletion impossible due to
missing user information.

Downstream of owncloud/core#26587, reproduction steps at owncloud/core#25618

When creating link shares from external storage, the filesystem cannot
find an owner in some scenarios (ex: system-wide mounts). In such
cases, fall back to using the current user's trashbin which happens to
also be the user who created the link share.

Fixes an issue where this scenario made deletion impossible due to
missing user information.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
@LukasReschke LukasReschke added 3. to review Waiting for reviews downstream labels Dec 22, 2016
@mention-bot
Copy link

@LukasReschke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @schiessle, @icewind1991 and @Xenopathic to be potential reviewers.

@LukasReschke LukasReschke added this to the Nextcloud 12.0 milestone Dec 22, 2016
@schiessle
Copy link
Member

makes sense

@rullzer rullzer merged commit 6f96af0 into master Dec 23, 2016
@rullzer rullzer deleted the trash-ext-link-uselinkowner branch December 23, 2016 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants