Skip to content

Conversation

@PikeUK
Copy link

@PikeUK PikeUK commented Aug 23, 2018

Pull request to fix #223.

A server I tried to connect to has a directory with the S file mode bit set, node-ftp is currently unable to parse any line which contains that bit. According to the ls manual S is a valid file mode bit which means:

If the set-user-ID or set-group-ID bit is set but the corresponding executable bit is not set.

This pull request adds the S bit to the regex.

S bit means:
"If the set-user-ID or set-group-ID bit is set but the corresponding executable bit is not set."

As per:
https://www.gnu.org/software/coreutils/manual/html_node/What-information-is-listed.html#index-permissions_002c-output-by-ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't parse entries containing the "S" permission

1 participant