X265 files randomly stopped being scanned (X265 changing permission at file level)

This was my issue a few months back. Something changed