You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Hemantha kumara M S (JIRA)" <ji...@apache.org> on 2018/08/29 09:58:00 UTC

[jira] [Updated] (NIFI-5560) Sub directory(symbolic link to directory) files are not getting listed in ListSFTP(ListSFTP does not Follow symbolic links)

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

Hemantha kumara M S updated NIFI-5560:
--------------------------------------
    Summary: Sub directory(symbolic link to directory) files are not getting listed in ListSFTP(ListSFTP does not Follow symbolic links)  (was: Sub directory(soft linked to directory) files are not getting listed in ListSFTP(ListSFTP does not Follow symbolic links))

> Sub directory(symbolic link to directory) files are not getting listed in ListSFTP(ListSFTP does not Follow symbolic links)
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-5560
>                 URL: https://issues.apache.org/jira/browse/NIFI-5560
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.7.1
>            Reporter: Hemantha kumara M S
>            Priority: Major
>
> *Here is the configuration*
> ----
> *SFTP Server side:*
> -bash-4.2$ mkdir -p /tmp/testData
>  -bash-4.2$
>  -bash-4.2$ mkdir -p /tmp/toRead
>  -bash-4.2$ ln -s /tmp/testData /tmp/toRead/data1
>  -bash-4.2$ touch /tmp/testData/1.txt
>  -bash-4.2$ touch /tmp/testData/2.txt
>  -bash-4.2$ touch /tmp/toRead/t.txt
> -bash-4.2$ mkdir /tmp/toRead/data2
> -bash-4.2$ touch /tmp/toRead/data2/22.txt
> -bash-4.2$ cd /tmp/toRead/
> -bash-4.2$ tree
> .
> ├── data1 -> /tmp/testData
> ├── data2
> │   └── 22.txt
> └── t.txt
> 2 directories, 2 files
> -bash-4.2$ pwd
> /tmp/toRead
> -bash-4.2$ tree
> .
> ├── data1 -> /tmp/testData
> ├── data2
> │   └── 22.txt
> └── t.txt
> 2 directories, 2 files
> -bash-4.2$ touch data
> data1/ data2/
> -bash-4.2$ touch data2/22.txt
> -bash-4.2$ touch t.txt
> -bash-4.2$ tree /tmp/testData
> /tmp/testData
> ├── 1.txt
> └── 2.txt
> 0 directories, 2 files
>  
> *Nifi:*
> Configured ListSFTP  +Remote Path+ to +/tmp/toRead/+ and +Search Recursively+ to +true+
>   
> *+Expected result:+*
> Should list 4 files(1.txt, 2.txt, t.txt, data2/22.txt)
> *+Actual result:+*
> listed only two files(t.txt, data2/22.txt)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)