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

[jira] [Reopened] (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:all-tabpanel ]

Susmit Sarkar reopened SSHD-1195:
---------------------------------

[~twolf]:

{creationTime=null, fileKey=null, *group=100* isDirectory=false, isOther=false, isRegularFile=true, isSymbolicLink=false, lastAccessTime=2021-08-18T03:13:33Z, lastModifiedTime=2021-08-18T03:13:33Z, *owner=200*, permissions=[OWNER_READ, OWNER_WRITE], size=21029}

 

readAttributes method in FileSystemProvider is fetching correct values and returning back to SftpSubSystem.doProcess(buf, int, int, int), but its not showing in console 

sftp> ls -lrt DaemonSSHD.java
-rw------- *0 0 0* 21029 Aug 18 08:43 DaemonSSHD.java

but when i do :

sftp> ls -lrt
-rw------- 1 *200 100* 21029 Aug 18 08:43 DaemonSSHD.java
drwx------ 1 *300 100* 1024 Aug 18 10:06 Inbox

don't you think it's an issue ?

 

> 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