Hi,
I am working on a setup running guacd in the official docker container guacamole/guacd. I am trying to set up up- and downloads on an RDP session, but am at my wits' end.
The RDP connection has the following parameters to enable file-transfers. Neither `disable-upload` nor `disable-download` are set and thus default to false.
enable-drive = true
drive-path = /tmp/drive
create-drive-path = true
When I enter the container using `docker exec -it guacd bash`, I can see the directory and it appears to have the correct permissions.
guacd@node$ id
uid=1000(guacd) gid=1000(guacd) groups=1000(guacd)
guacd@node$ ls /tmp/drive
total 12
drwx------ 3 guacd guacd 4096 Feb 10 10:11 .
drwxrwxrwt 1 root root 4096 Feb 10 10:07 ..
drwx------ 2 guacd guacd 4096 Feb 10 10:21 Download
drwx------ 3 guacd guacd 4096 Feb 10 10:11 .
drwxrwxrwt 1 root root 4096 Feb 10 10:07 ..
drwx------ 2 guacd guacd 4096 Feb 10 10:21 Download
As the guacd user, I can create, move and remove files in both `/tmp/drive` and `/tmp/drive/Download`.
Uploading files via the Guacamole sidebar works just fine. They are visible at `/tmp/drive` and I can move the file from the "Guacamole Filesystem on Guacamole RDP" onto the VM.
Downloading however does not appear to work reliably at all. It starts with me being unable to move files into the "Download" directory on the VM. To the user it looks like nothing is happening at all. The same behaviour can be observed when moving files onto the share using Powershell. The guacd log contains limited additional information:
guacd[184]: ERROR: File open refused (-2): "\Download\test"
Interestingly I am able to create empty files in the Download directory by right clicking and using the context menu. These empty files do show up in the Guacamole sidebar and I can download them. Trying to add content to the files via the VM fails with the previous error message. When I go back into the guacd container, the files do exist in `/tmp/drive/Download`. I can add content to them this way, but once I have done that, I can no longer download them.
guacd@node$ echo "test1234" > /tmp/drive/Download/testfile.txt
Lastly I have checked the browser for error messages too, but could not find any. The console doesn't show any output and the network history contains no failed requests.
Any help would be greatly appreciated.
Kind regards
Christopher Klinge
