Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

zmb3
Copy link
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
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
44 checks passed
@zmb3 zmb3 deleted the zmb3/desktop-directory-share-failure branch August 26, 2024 17:34
@public-teleport-github-review-bot

@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