[ 
https://issues.apache.org/jira/browse/GUACAMOLE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164094#comment-16164094
 ] 

Michael Jumper commented on GUACAMOLE-379:
------------------------------------------

Can you post the log output from guacd when the uploads fail?

> SFTP put requests fail on rdp and SFTP server
> ---------------------------------------------
>
>                 Key: GUACAMOLE-379
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-379
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 0.9.13-incubating
>         Environment: FreeBSD Current r323109 using 11-STABLE r323103 user 
> land. ZFS file system.
>            Reporter: Richard Gallamore
>
> Currently I have attempted to use SFTP with a few different configurations. 
> Most if not 90% of all the configurations I have attempted fail with:
> {quote}
> You do not have permission to upload this file. If you require access, please 
> check your system settings, or check with your system administrator.
> {quote}
> sshd_config: all defaults with this conditional
> {code:none}
> Match User guacamole
> ChrootDirectory /home/guacamole
> X11Forwarding no
> AllowTcpForwarding no
> ForceCommand internal-sftp
> AuthenticationMethods publickey #,keyboard-interactive # using both Methods 
> will fail
> {code}
> This is not a permissions issue,
> {code:none}
> # ls /home/guacamole/home/guacamole
> # echo "put -p /home/guacamole/a /home/guacamole" | sftp -P22 
> [email protected]                                                         
>                                                                               
> Enter passphrase for key '/root/.ssh/id_rsa':                                 
>                                                                               
>                                                                               
>     
> Connected to private.com.                                                     
>                                                                               
>                                                                               
>        
> sftp> put -p /home/guacamole/a /home/guacamole                                
>                                                                               
>                                                                               
>         
> Uploading /home/guacamole/a to /home/guacamole/a                              
>                                                                               
>                                                                               
>         
> /home/guacamole/a
> # ls /home/guacamole/home/guacamole
> a
> {code}
> Have also tested using rdp drive option and received mostly the same results. 
> Randomly it will work on some files but I have not been able to figure out 
> why. Does not seem to be related to filename or size.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to