Sample Header Ad - 728x90

Linux ls shows some abnormal files with “?” No message of desired type

0 votes
0 answers
93 views
Help me understand the following problem - there is software that interacts with files in XML format. The software is wrapped in a docker container. When the software works with the file, the error "No message of desired type" occurs after a random time. When trying to see what is with the file in the container, by the path of its location, Linux responds that the file is there, but nothing can be done with it. For example, ls returns the following:`
# # ls -lah
ls: cannot access 'file.xml': No message of desired type
total 16K
drwxr-xr-x 1 root root 4.0K Nov 5 11:12 .
drwxr-xr-x 1 root root 4.0K Dec 4 12:42 ..
-????????? ? ? ? ? ? file.xml
No problems with the file system were found. When the container is restarted, the file is correct, but after some time the file breaks. Made a copy of the files in the top level of the directory (while continuing to work with the internal files) - the external files remained intact, but the internal ones broke. From the point of view of the code - the code is in C#, working with the file - opened for reading in FileStream, after work the stream was closed and disposed. As far as we could understand, no one interacts with the file except the utility.
Asked by dimkqa (1 rep)
Dec 4, 2024, 09:53 AM