Solved!
Sure enough, it was a directory permissions problem. I did not know what the directory was specifically. I have given write permissions to the "x-aviation" directory located in the root directory of x-plane and the problem has been fixed.
Thank you very much for your help Jan!!!