You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Wolf (Jira)" <ji...@apache.org> on 2021/08/18 06:19:00 UTC

[jira] [Commented] (SSHD-1195) User id/ Group id of the file and directories are not shown correctly for a single file

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

Thomas Wolf commented on SSHD-1195:
-----------------------------------

[~Susmit07]: I have no idea what your client in which you type these commands is or what it does. Is it a Java program? Something else? How exactly does it produce the directory listing?

If you debugged it as far as
{quote}
readAttributes method in FileSystemProvider is fetching correct values and returning back to SftpSubSystem.doProcess(buf, int, int, int), but its not showing in console
{quote}
then maybe the problem is in the client? Did you try other clients? Did you try writing a simple Java client that just tries to do this?

> User id/ Group id  of the file and directories are not shown correctly for a single file
> ----------------------------------------------------------------------------------------
>
>                 Key: SSHD-1195
>                 URL: https://issues.apache.org/jira/browse/SSHD-1195
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: Susmit Sarkar
>            Priority: Blocker
>         Attachments: image-2021-07-11-23-51-18-281.png
>
>
> Hello Team,
> I believe there is a issue while fetching the user and groupid for a particular file. The issue is not seen when you see for all files, strangely in a specified directory.
> Looks the PosixFileAttributes for group and user id is not getting set in a single file.
> Please see the screenshot below:
> !image-2021-07-11-23-51-18-281.png|width=635,height=218!
> ls -lrt works fine for all file under the directory.
> ls -lrt mina.log.8 returns 0, so it may be an issue
>  
> Thanks,
> Susmit
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org