I / O error reading directory

I have a problem reading folders / files from a folder mounted with curlftpfs : The server uses FTPES with explicit TLS / SSL, and I only have read permissions.

My system uses Mint15 (Ubuntu 13.04), curlftpfs 0.9.2, libcurl 7.29.0, fuse 2.9

My used command:

curlftpfs -r -v -o ssl_control,cacert=~/serverzertifikat.pem,no_verify_peer,allow_other,tlsv1 username: password@host.com :990/efz_out ~/mount 

This gives the following conclusion:

Could not find host.com hostname in .netrc file; using default values
About connecting () to hostname.com 990 (# 0)
Trying xxxx ..
Connected to hostname.com (XXXX) port 990 (# 0)
SOME ECONOMIC INFORMATION
AUTH SSL
234 Continue the negotiations.
Error reading file CA ~ ~ / serverzertifikat.pem (Error reading file.)
server certificate verification Skipped
compression: NULL
Cipher: AES-128-CBC
MAC: SHA1
USER username
331 Please enter a password.
Password PASS
230 Login successfully.
PBSZ 0
200 PBSZ are set to 0.
PROT WITH
200 PROT is now clear.
Pwd
257 "/"
The entry path is "/"
CWD efz_out
250 Directory changed successfully.
Remembering that we are in the directory "efz_out /"
Connection # 0 to hostname.com remains unchanged

When I go to my mounted directory now and want to list all the files with

 ls -al 

I get the following error message:

ls: read directory .: I / O error
total 0

I have already googled and tried many different options for a long time, but none of them have changed.

Maybe one of you has experience with this and can help me?

My opinion is that the problem is related to FTPES (I found a post in which other users faced the same problem with their servers, but this did not help me because the parameter was used: no_verify_hostname, which is actually no longer supported from due to security issues)

+7
source share
2 answers

Comment 12 here fixed this for me on RHEL 7 https://bugzilla.redhat.com/show_bug.cgi?id=1183409

Short version, first run: export NSS_STRICT_NOFORK = DISABLED

0
source

We recently ran into the same problem and found that the FTP server we were trying to connect to turned off passive mode. To tell curlftpfs to use active mode, run with the -o ftp_port=- option.

$> curlftpfs -o user=<username>:<password>,ftp_port=- ftp://<FTP_IP>/mnt/ftp .

0
source

Source: https://habr.com/ru/post/948782/