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

Stale file contents in redirected drive #3401

Open
fiddyschmitt opened this issue Jan 19, 2025 · 1 comment
Open

Stale file contents in redirected drive #3401

fiddyschmitt opened this issue Jan 19, 2025 · 1 comment

Comments

@fiddyschmitt
Copy link

Hi,

Environment

Windows Client (mstsc) connecting to Ubuntu 22.04.5 (xrdp 0.9.17).

To reproduce

I have shared a drive from Windows, and its content appear fine in thinclient_drives

  1. On Linux open a terminal and run: tail -f hello.txt
  2. On Windows, add a line to hello.txt
  3. On Linux open another terminal and run cat hello.txt

Expected results

  • The tail command in Linux displays the added line
  • The cat command shows the added line

Actual result

  • Neither the tail or cat commands show the new line

Only if tail is closed will cat see the new data. It seems that if the file is open for reading, its latest contents don't propagate from the client to the server.

@matt335672
Copy link
Member

Thanks for this, @fiddyschmitt

An option to address the particular issue you raise was added by @bobcarroll in #3255

To use it, you'll need version v0.10.2 of xrdp or later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants