Opened 14 years ago

Closed 10 years ago

#5709 closed Bug report (outdated)

directory not listed via sftp - ACL

Reported by: dmagniez Owned by:
Priority: high Component: FileZilla Client
Keywords: sftp ACL directory not listed ls Cc:
Component version: Operating system type: Windows
Operating system version:

Description

I'm connecting to a sftp service I've created.

the directory is empty but it should have some files in.

My config is the same than a previous one, except ACL.

here is the debug log, showing that filezilla receive a good response from the command ls :

Statut : Récupération du contenu du dossier...
Trace : CSftpControlSocket::ParseSubcommandResult(0)
Trace : CSftpControlSocket::ListSubcommandResult()
Trace : CSftpControlSocket::SendNextCommand()
Trace : CSftpControlSocket::ListSend()
Commande : ls
Statut : Listing directory /home/TAO/dmagniez
Contenu : drwxrwx--T 9 root root 4096 Nov 22 14:37 ..
Contenu : drwx------ 2 dmagniez utilisa. du domaine 4096 Nov 22 15:10 .ssh
Contenu : drwxr-x--- 4 dmagniez utilisa. du domaine 4096 Nov 22 15:10 .
Contenu : -rwxr-x--- 1 dmagniez utilisa. du domaine 0 Nov 22 14:57 Nouveau document texte.txt
Contenu : drwxr-x--- 2 dmagniez utilisa. du domaine 4096 Nov 22 15:05 Nouveau dossier
Trace : CSftpControlSocket::ListParseResponse()
Trace : CSftpControlSocket::ResetOperation(0)
Trace : CControlSocket::ResetOperation(0)
Statut : Succès de la lecture du contenu du dossier

but nothing appear.

file right seems to be good :
dmagniez@LINUXTAO:~> getfacl /home/TAO/dmagniez/
getfacl: Removing leading '/' from absolute path names
# file: home/TAO/dmagniez/
# owner: dmagniez
# group: utilisa.\040du\040domaine
user::rwx
user:other_user1:r-x
group::--x
group:g_ftp:--x
mask::r-x
other::---
default:user::rwx
default:user:other_user1:r-x
default:group::--x
default:group:g_ftp:--x
default:mask::r-x
default:other::---

sftp command in localhost linux :

sftp> ls
Nouveau document texte.txt Nouveau dossier

Change History (2)

comment:1 by dmagniez, 13 years ago

Priority: normalhigh

If file is owned by a linux user, filezilla can list it
If file is owned by another user (Active Directory user), not in /etc/passwd, filezilla cannot list it

It's the reason why when logged as another user than a linux user, you create a dir/file but can't see it anymore, due to the owner property

With another software (WinSCP for example), the listing is right.

comment:2 by Bruno Ramos, 10 years ago

Resolution: outdated
Status: newclosed

Huge number of changes since ticket was created, please reopen ticket if issue still in latest version.

Thank you.

Note: See TracTickets for help on using tickets.