I was monitoring a directory containing downloads from Google Chrome with ls -la
and got this in the output:
-????????? ? ? ? ? ? 'Unconfirmed 784300.crdownload'
I've never seen such question marks in the output.
There were other files in the directory with normal metadata output. When I ran ls -la
again the output was all normal; the file still had the same name but the metadata was now visible. Later when the download finished the file was renamed to its final name, as expected.
I checked /var/log/syslog
and dmesg
output and didn't see any kernel messages.
I wonder if I hit some race condition? I wonder if there is a brief moment after the file is first created where the information is not yet available?
ext4 filesystem with seemingly standard mount options (rw,relatime,errors=remount-ro), 5.4.0-59-generic kernel on Ubuntu 20.04.1 LTS