I have a CIFS mount on my PC and the
ls command shows me a certain file is there:
[bf@localhost dirX]$ ls -la total 4096 drwxr-xr-x. 2 bf bf 0 20 okt 09:12 . drwxr-xr-x. 2 bf bf 0 5 sep 11:05 .. -rwxr-xr-x. 1 bf bf 880 19 okt 17:44 WeirdFile -rwxr-xr-x. 1 bf bf 880 19 okt 17:44 GoodFile
However, when trying to read from it (or save to it), it says the file doesn't exist:
[bf@localhost dirX]$ cat WeirdFile cat: WeirdFile: No such file or directory
cat GoodFile does work.
I am having trouble with CIFS anyway since moving to Fedora 26 and having to force to version 2.1 in fstab. Main problem is bad performance (slow!), but this is just plain weird.
Update when remounting the share, the file is gone.