I had a strange issue with MTP mode in ubuntu ,when i connect my android device (running cyanogenmod rom) to ubuntu laptop files inside some folders are missing but i can view the contents of the same folder from my device’s file manager app.
How to fix this issue ?
After a long battle I have found the solution myself , To view the missing files first you need to rename the folder using the file manager app and connect back the device again , Voila! now you can view the missing files!!!.
This is a bug in cyanogenmod which will be fixed in next nightly