mirror of
				https://github.com/minio/minio.git
				synced 2025-10-30 00:05:02 -04:00 
			
		
		
		
	SFTP: Correctly inform client about unsupported commands (#19735)
This commit is contained in:
		
							parent
							
								
									9b219cd646
								
							
						
					
					
						commit
						534e7161df
					
				| @ -342,7 +342,7 @@ func (f *sftpDriver) Filecmd(r *sftp.Request) (err error) { | ||||
| 
 | ||||
| 	switch r.Method { | ||||
| 	case "Setstat", "Rename", "Link", "Symlink": | ||||
| 		return NotImplemented{} | ||||
| 		return sftp.ErrSSHFxOpUnsupported | ||||
| 
 | ||||
| 	case "Rmdir": | ||||
| 		bucket, prefix := path2BucketObject(r.Filepath) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user