Skip to content

desktop access: improve error handling when directory sharing fails#45808

Merged
zmb3 merged 1 commit intomasterfrom
zmb3/desktop-directory-share-failure
Aug 26, 2024
Merged

desktop access: improve error handling when directory sharing fails#45808
zmb3 merged 1 commit intomasterfrom
zmb3/desktop-directory-share-failure

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Aug 24, 2024

If drive redirection is disabled on the Windows side, then directory sharing will fail even if Teleport RBAC allows it. Prior to this change failure to share a directory was considered a fatal error that would terminate the session.

This change updates the error message and makes the error a warning so that the session remains alive even if the directory sharing operation fails.

changelog: Failure to share a local directory in a Windows desktop session is no longer considered a fatal error.

Before:

Screenshot 2024-08-24 at 8 25 02 AM

After:

Screenshot 2024-08-24 at 8 25 54 AM

If drive redirection is disabled on the Windows side, then directory
sharing will fail even if Teleport RBAC allows it. Prior to this change
failure to share a directory was considered a fatal error that would
terminate the session.

This change updates the error message and makes the error a warning
so that the session remains alive even if the directory sharing
operation fails.
@zmb3
Copy link
Copy Markdown
Collaborator Author

zmb3 commented Aug 24, 2024

cc @oshati @pschisa this should improve the scenario that you recently ran into ^^

(I'll also take over the docs update that you started after this lands)

@zmb3 zmb3 enabled auto-merge August 26, 2024 15:08
@zmb3 zmb3 added this pull request to the merge queue Aug 26, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 26, 2024
@zmb3 zmb3 added this pull request to the merge queue Aug 26, 2024
Merged via the queue into master with commit d3272bc Aug 26, 2024
@zmb3 zmb3 deleted the zmb3/desktop-directory-share-failure branch August 26, 2024 17:34
@public-teleport-github-review-bot
Copy link
Copy Markdown

@zmb3 See the table below for backport results.

Branch Result
branch/v14 Failed
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants