Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.28k stars 572 forks source link

Remote file acess bug #5018

Open folosleg opened 1 year ago

folosleg commented 1 year ago

Can not access (edit, copy, download, etc.) files on remote Windows 10 machines if they are being written? or locked? by another application. Example: Apache Tomcat running on remote Windows machine, trying to download current tomcat9_stderr.log file.

Works OK on remote Ubuntu, so it should be a Windows agent issue I guess.

There is no relatable log within MC to my knowledge, please advise how can I help debug the issue.

dinger1986 commented 1 year ago

This isn't a bug, if the file is open it's blocked, you can copy the file using command line and then download the copy if needed @si458 can close

folosleg commented 1 year ago

Sorry to argue, but to this logic, how would it be possible to copy a file using command line? or open it using notepad? or copy it using a different remote management software? Reading a file is reading a file. And that file is readable, except MC cannot read it. Maybe MC agent using a different file operation method or privilege or else? Just thinking loud here, I'm not an expert in any way in Windows file operations... Thanks

si458 commented 1 year ago

@folosleg hmm good reply! i understand your logic! i will do some testing when i can for you and see whats happening

folosleg commented 1 year ago

cheers, let me know if i can be any help