Richard Gallamore created GUACAMOLE-379:
-------------------------------------------
Summary: 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:
{code:java}
You do not have permission to upload this file. If you require access, please
check your system settings, or check with your system administrator.
{code}
sshd_config: all defaults with this conditional
Configuration is as followed
Match User guacamole
ChrootDirectory /home/guacamole
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp
AuthenticationMethods publickey #,keyboard-interactive # using both Methods
will fail
This is not a permissions issue,
{code:java}
# 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)