With this settings "Meanwhile, you can try to workaround an apparent bug in the server using
SFTPRealPath=1
raw session settings:", it works.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
SFTPRealPath=1
raw session settings:", it works.
SFTPRealPath=1
raw session settings:
Impossibile determinare percorso reale per '/cygdrive/e/SFTP/collinosftp'.
Permesso negato.
Codice errore: 3
Messaggio errore dal server: Permission denied
We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 strings are not mandatory
. 2022-02-02 21:57:54.960 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2022-02-02 21:57:54.961 Changing directory to "/cygdrive/e/SFTP/collinosftp".
. 2022-02-02 21:57:54.961 Getting real path for '/cygdrive/e/SFTP/collinosftp'
> 2022-02-02 21:57:54.961 Type: SSH_FXP_REALPATH, Size: 37, Number: 9488
< 2022-02-02 21:57:55.007 Type: SSH_FXP_STATUS, Size: 34, Number: 9488
< 2022-02-02 21:57:55.007 Status code: 3, Message: 9488, Server: Permission denied, Language:
* 2022-02-02 21:57:55.007 (ECommand) Errore cambiamento cartella su '/cygdrive/e/SFTP/collinosftp'.
* 2022-02-02 21:57:55.007 Impossibile determinare percorso reale per '/cygdrive/e/SFTP/collinosftp'.
* 2022-02-02 21:57:55.007 Permesso negato.
* 2022-02-02 21:57:55.007 Codice errore: 3
* 2022-02-02 21:57:55.007 Messaggio errore dal server: Permission denied
. 2022-02-02 21:57:57.787 Getting current directory name.
. 2022-02-02 21:57:57.788 Getting real path for '.'
> 2022-02-02 21:57:57.788 Type: SSH_FXP_REALPATH, Size: 10, Number: 9744
< 2022-02-02 21:57:57.834 Type: SSH_FXP_NAME, Size: 77, Number: 9744
. 2022-02-02 21:57:57.835 Real path is '/cygdrive/e/SFTP/collinosftp'
. 2022-02-02 21:57:57.926 Listing directory "/cygdrive/e/SFTP/collinosftp".
> 2022-02-02 21:57:57.927 Type: SSH_FXP_OPENDIR, Size: 37, Number: 9995
< 2022-02-02 21:57:57.977 Type: SSH_FXP_HANDLE, Size: 13, Number: 9995
> 2022-02-02 21:57:57.978 Type: SSH_FXP_READDIR, Size: 13, Number: 10252
< 2022-02-02 21:57:58.037 Type: SSH_FXP_NAME, Size: 439, Number: 10252
> 2022-02-02 21:57:58.037 Type: SSH_FXP_READDIR, Size: 13, Number: 10508
< 2022-02-02 21:57:58.083 Type: SSH_FXP_STATUS, Size: 28, Number: 10508
< 2022-02-02 21:57:58.083 Status code: 1
> 2022-02-02 21:57:58.084 Type: SSH_FXP_CLOSE, Size: 13, Number: 10756
. 2022-02-02 21:57:58.084 ..;d;0;2009-04-22T20:22:05.000Z;3;"Unknown+User" [-1];"None" [197121];rwx-wx---;0
. 2022-02-02 21:57:58.084 Export;d;0;2022-02-02T15:29:51.000Z;3;"Unknown+User" [-1];"None" [197121];---rwx---;0
. 2022-02-02 21:57:58.084 Import;d;0;2021-11-15T14:32:04.000Z;3;"Unknown+User" [-1];"None" [197121];---rwx---;0
. 2022-02-02 21:57:58.141 Startup conversation with host finished.
. 2022-02-02 21:57:58.440 Not refreshing directory, caching is off.
. 2022-02-02 21:57:59.356 Changing directory to "Export".
. 2022-02-02 21:57:59.356 Getting real path for '/cygdrive/e/SFTP/collinosftp/Export'
> 2022-02-02 21:57:59.357 Type: SSH_FXP_REALPATH, Size: 44, Number: 11024
< 2022-02-02 21:57:59.412 Type: SSH_FXP_STATUS, Size: 24, Number: 10756
. 2022-02-02 21:57:59.412 Discarding reserved response
< 2022-02-02 21:57:59.459 Type: SSH_FXP_STATUS, Size: 34, Number: 11024
< 2022-02-02 21:57:59.459 Status code: 3, Message: 11024, Server: Permission denied, Language:
* 2022-02-02 21:57:59.460 (ECommand) Errore cambiamento cartella su 'Export'.
* 2022-02-02 21:57:59.460 Impossibile determinare percorso reale per '/cygdrive/e/SFTP/collinosftp/Export'.
* 2022-02-02 21:57:59.460 Permesso negato.
* 2022-02-02 21:57:59.460 Codice errore: 3
* 2022-02-02 21:57:59.460 Messaggio errore dal server: Permission denied
. 2022-02-02 21:58:01.944 Changing directory to "Import".
. 2022-02-02 21:58:01.944 Getting real path for '/cygdrive/e/SFTP/collinosftp/Import'
> 2022-02-02 21:58:01.944 Type: SSH_FXP_REALPATH, Size: 44, Number: 11280
< 2022-02-02 21:58:02.001 Type: SSH_FXP_STATUS, Size: 34, Number: 11280
< 2022-02-02 21:58:02.001 Status code: 3, Message: 11280, Server: Permission denied, Language:
* 2022-02-02 21:58:02.003 (ECommand) Errore cambiamento cartella su 'Import'.
* 2022-02-02 21:58:02.003 Impossibile determinare percorso reale per '/cygdrive/e/SFTP/collinosftp/Import'.
* 2022-02-02 21:58:02.003 Permesso negato.
* 2022-02-02 21:58:02.003 Codice errore: 3
* 2022-02-02 21:58:02.003 Messaggio errore dal server: Permission denied
. 2022-02-02 21:58:30.020 Closing connection.
. 2022-02-02 21:58:30.020 Sending special code: 1
. 2022-02-02 21:58:30.116 Session sent command exit status 0
. 2022-02-02 21:58:30.116 Main session channel closed
. 2022-02-02 21:58:30.117 All channels closed
in
and out
and although the user is still able to view list them as usual the moment he changes path to /in
or /out
he receives error
Cannot get real path for '/cygdrive/f/username/in'.
Permission denied.
Error code: 3
Error message from server: Permission denied
..
. I have also noticed that prior to Cygwin upgrade if the user tried entering ..
folder they would receive a slightly different but more familiar error denied:
Permission denied.
Error code: 3
Error message from server: Permission denied