[kio-extras] [Bug 375249] "File not found" when trying to open file from nfs

Luca Weiss bugzilla_noreply at kde.org
Thu Mar 2 20:12:42 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=375249

--- Comment #3 from Luca Weiss <luca at z3ntu.xyz> ---
So after quite a bit of debugging I have found out that apparently the problem
is that my NFS server has a share that's not available for my IP address (only
for another one) and fhStatus.fhs_status (in nfsv3.cpp->openConnection()) gets
set to 13 and if checks if the status is zero and otherwise throws an error
(not right away but later). I have managed to work around this problem by
putting a 

else if(fhStatus.fhs_status == 13) {
    continue; // skip mounts with no permission
}

there and I can now browse my NFS share again.

luca at g550jk ~> showmount -e 192.168.0.50
Export list for 192.168.0.50:
/mnt/data/libvirt 192.168.0.21
/mnt/data/media   (everyone)

Sample patch that *works around the problem* is attached. Note, that I have
little experience in NFS and have no idea what the "13" actually means.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list