Jonathan Chien created SSHD-344:
-----------------------------------

             Summary: File and Posix attributes always seems to be default 
settings
                 Key: SSHD-344
                 URL: https://issues.apache.org/jira/browse/SSHD-344
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.12.0
         Environment: Tested against OpenSSH on Linux and Cygwin on Windows
            Reporter: Jonathan Chien


When using ChannelExec to do a "cp -p" or a "mv", the Posix permissions of the 
destination file always appear to be 644 instead of whatever the Posix 
permissions of the parent file were.

When using DefaultSftpClient.setstat, it also doesn't appear to change neither 
any BasicFileAttributes (such as last modified time) nor Posix permissions, and 
just doesn't seem to work at all.

As such, there's no good way to change the attributes of files right now.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to