[ 
https://issues.apache.org/jira/browse/SSHD-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved SSHD-98.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6.0
         Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ...
        M       sshd-core/src/main/java/org/apache/sshd/server/SshFile.java
        M       
sshd-core/src/main/java/org/apache/sshd/server/filesystem/NativeSshFile.java
        M       
sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
Committed r1039520

The patch is slightly different from yours and try to leverage the canExecute 
method which has been introduced in JDK 1.6 (and default to isDirectory() if 
not available).  Could you please double check that it works for you ?

> Directories in sftp should have executable permission set
> ---------------------------------------------------------
>
>                 Key: SSHD-98
>                 URL: https://issues.apache.org/jira/browse/SSHD-98
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Will Glass-Husain
>            Assignee: Guillaume Nodet
>             Fix For: 0.6.0
>
>         Attachments: executable patch.txt
>
>
> When accessing directories via sftp, the executable bit should be set (for 
> compatibility with linux).
> Without it, this causes problems when I use sshfs (a fuse based file system 
> on Linux) to mount the sftp directory as a filesystem.  I can't cd into the 
> directories.
> See attached patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to