A file generated from `yes "Some text" | head -n 100000 > large-file-1mb` will 
upload succesfully, but a file like `yes "Some text" | head -n 200000 > 
large-file-2mb` fails.

Heres what I see in the guacd logs:

Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: 
path="\large-file-2mb", access=0x40000000, file_attributes=0x0, 
create_disposition=0x5, create_options=0x0
Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:        
guac_rdp_fs_open: path="\large-file-2mb", access=0x40000000, 
file_attributes=0x0, create_disposition=0x5, create_options=0x0
Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:        
guac_rdp_fs_open: Normalized path "\large-file-2mb" to "\large-file-2mb".
Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:        
guac_rdp_fs_open: Translated path "\large-file-2mb" to 
"/home/ubuntu/mapped-drive/large-file-2mb".
Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:        
guac_rdp_fs_open: native open: 
real_path="/home/ubuntu/mapped-drive/large-file-2mb", flags=0x241
Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:        
guac_rdp_fs_open: Opened "\large-file-2mb" as file_id=8
Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: Normalized path 
"\large-file-2mb" to "\large-file-2mb".
Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: Translated path 
"\large-file-2mb" to "/home/ubuntu/mapped-drive/large-file-2mb".
Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: native open: 
real_path="/home/ubuntu/mapped-drive/large-file-2mb", flags=0x241
Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: Opened 
"\large-file-2mb" as file_id=8


It doesn't print anything else. On the server, the file exists but it is 0 
bytes. The guac web ui says: "You do not have permission to upload this file. 
If you require access, please check your system settings, or check with your 
system administrator.", but its clearly not a permissions things.
A succesful file transfer (large-file-1mb) would also print this upon 
succeeding, but the large-file-2mb file descriptor handle is never closed:

Oct 17 11:43:02 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_close: Closed 
"\large-file-1mb" (file_id=4)
Oct 17 11:43:02 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:        
guac_rdp_fs_close: Closed "\large-file-1mb" (file_id=4)


What can I do to fix this? Is there a guacamole/tomcat/guacd/xrdp setting 
somewhere for maximum transfer size?

Thanks,
Lev

Reply via email to