veeso / suppaftp

a super FTP/FTPS client library for Rust with support for both passive and active mode
Apache License 2.0
112 stars 28 forks source link

[BUG] - POSIX setgid/setuid/sticky bits not supported #58

Closed rye closed 11 months ago

rye commented 11 months ago

Description

When using the LIST command, the setgid, setuid, and sticky bits (rendered over the execute bits as s/S, and t/T) are not supported.

Steps to reproduce

Have a directory on a remote server with one of the aforementioned bytes set on one of the directory entries.

$ ls -l
drwsrwsrwt ...

Try to use the list binding. This will result in a SyntaxError.

Expected behaviour

I expect the parser to accept this input.

Resolution

I plan to contribute a PR momentarily which will add basic support for these bits.