Commit Graph

16 Commits

Author SHA1 Message Date
Mathias Fredriksson c93b0a0af2 Refactor tests and make `toLocalPath` a method on `Server` 2022-10-18 18:17:45 +03:00
Cassondra Foesch 00dc491201 refactor ls formatting work 2021-08-11 15:09:43 +00:00
Cassondra Foesch e683b3b6ed cleanup request mutex usage 2021-08-02 11:23:37 +00:00
Cassondra Foesch 66e738ef23 force all Nlink cast to uint64 for source compatibility 2021-07-09 11:32:12 +00:00
Cassondra Foesch 7b1950d3d5 [bugfix] FileZilla parses the directory listing in longname 2021-07-09 11:08:07 +00:00
Abdulla Kaleem ed3a8b6315 added build tags required for gcc-go on AIX 2018-07-26 16:04:57 +05:00
John Eikenberry 1073df2ac4 Revert "lookup username/group-name for longname"
This reverts commit 5bf2a174b6 and commit
6d8540e9cf.

Fixes #249
2018-05-24 11:28:58 -07:00
John Eikenberry 6d8540e9cf improve previous commit's user/group lookups
Mostly fixing an inefficiency w/ calculating the gid string twice if
lookups fail (but also overall a bit cleaner).
2018-04-23 15:35:48 -07:00
John Eikenberry 5bf2a174b6 lookup username/group-name for longname
When returning file data, the longname field is assigned fileinfo
formatted as a long list entry (like `ls -l`). This adds username and
groupname lookup to that output instead of just using uid/gid values.
Falls back to uid/gid if there is an issue with the lookup.
2018-04-19 13:08:40 -07:00
andreas ec08c0d53b Moved permission detection for runLs to server.go
Make runLs return the recommended format in stubs, even if it does not contain all information
Removed unused parameter
2017-08-10 07:34:48 +02:00
Mark Sheahan d7309968cd add more tests; bug setting S_IFREG caused openssh sftp to refuse to get the file 2015-09-08 17:03:18 -07:00
Mark Sheahan bce43f23ac Address review comments; alter server test to allow the user / group words to be different 2015-09-07 22:50:46 -07:00
Mark Sheahan a94c674357 missed a file... 2015-09-07 22:10:18 -07:00
Mark Sheahan 7bb2083ca9 Address review comments; about to change decodePacket() 2015-09-06 23:55:15 -07:00
Mark Sheahan 0aec5ce5ec use merge-to target branches, not ScriptRock ones 2015-09-06 21:54:42 -07:00
Mark Sheahan c36e806e57 runLs output matching openssh for some stuff 2015-09-06 21:37:33 -07:00